On FreeBSD if you want to list only the packages you explicitly specified to install (excluding packages that were pulled in as dependencies), run:

$ pkg prime-list

This can be useful for duplicating the list of packages installed on another machine.

Source: docs.freebsd.org/en/books/hand…

#FreeBSD #RunBSD