I've already installed additional software from the ports collection, now I'll try to use pkg. From the man page, the pkg is a package management tool. The difference is that you can use the FreeBSD Ports Collection for installing from source, and packages for installing from pre-built binaries.
- Upgrade the pkg
pkg upgrade (answer yes for all questions, if any)
- Installing nano text editor
pkg install nano