In order to update FreeBSD, open a console in the system with root privileges and issue the following commands.
# freebsd-update fetch # freebsd-update install

To update “Ports” package manager and installed software run the below command.
# pkg update # pkg upgrade

