Line Numbers in Emacs

You can get line numbers in Emacs several ways.

In the past this was accomplished with linum-mode. In recent versions of emacs, we have nlinum-mode, which is used by Emacs Prelude. I think the latter is supposed to be faster.

Most recently, emacs has this built in with display-line-number-mode, which should probably be the go version moving forward.