Fingering instructions can be entered using a simple syntax.
\version "2.24.0" \relative c'' { c4-1 d-2 f-4 e-3 }