How to install Node.Js on FreeBSD 12
As its well known, installing packages on FreeBSD can be done through pkg for installing binary packages and from source using port collection.
Install nodejs via pkg:
pkg install node
compile it on your own using ports:
cd /usr/ports/www/node && make install