Display the status line (see "To Display the Status Line").
Press Control+G or click in the Line field of the status line.
Type the line number you want to go to and press Return.