So, let us start.
Install NodeJS on FreeBSD 12
First of all, all the commands we will use require you to be root. So it is a good idea to have sudo enabled and not work directly with the root user.
Now it is also convenient to do a system upgrade. Not only to install security patches but also to refresh the repositories.
For a list of installed software packages see the MANIFEST file.