FreeBSD Basics: pkg

Binary Packages is what pkg can install.

Run pkg in the terminal and install or update pkg package.

pkg help install
pkg update -f
pkg upgrade
pkg search string
pkg install string
pkg info
pkg audit -F
pkg delete string
pkg autoremove
pkg prime-list
pkg prime-origins
pkg clean
pkg lock string
pkg unlock string

General Notes

in old article I talk about an old experience using /usr/ports, which ask me to install the X server when trying to install editors/vim. Using the pkg package manager, you can select the best option for you. The string is vim