The process whose specific outcome is the progression of the hypoglossal nerve over time, from its formation to the mature structure. This motor nerve innervates all the intrinsic and all but one of the extrinsic muscles of the tongue.