This tutorial by user Victor Alex shows us how to get Nano set up on FreeBSD.

Introduction

Let’s say you need nano on a FreeBSD system, maybe you don’t have the skills for Vi or it is other wise not available to you or you just like nano better.

Steps (4 total)

1

Make sure ports is installed

cd /usr/ports
if this doesn’t work (folder doesn’t exist) you’ll need to install posts first.
2

Update Bianaries

portsnap fetch update
3

extract updates

portsnap fetch extract update
4

Compile Nano

cd /usr/ports/editors/nano
make install clean
ln -s /usr/local/bin/nano /usr/bin/nano

Original: http://alexintutor.blogspot.com/2015/08/install-nano-on-freebsd.html