The process whose specific outcome is the progression of the trochlear nerve over time, from its formation to the mature structure. The trochlear nerve is a motor nerve and is the only cranial nerve to exit the brain dorsally. The trochlear nerve innervates the superior oblique muscle.