By default, Coda shows your current position in the editor in the lower-right corner of the editor view. The first number is the current line. The second number is the current column.
You can also turn on a gutter which shows the number for every line.
To show line numbers for the current editor document:
To set whether line numbering should be on or off by default: