Freebsd – What Emacs package should I install for command-line on FreeBSD

command-line-interfacefreebsd

I'm newbie on BSD.

I installed FreeBSD with minimal configuration, so there's no package installed.
I tried pkg_add -r emacs, the command tried installing many of X11 related packages (not sure, but it look like). There are so many ports on BSD ports website, so I'm confusing what's suitable for me.

I'm looking for a light-weight Emac with command-line interface. I'm trying to use command-line only environment. So GUI is not an option.

Best Answer

Under the old pkgtools system: You want pkg_add -r emacs-nox11
For the newer pkgng system: You want pkg install emacs-nox11