Below you will find installation instructions for many popular
operating systems. I personally use Ubuntu. If you don't have
a Linux/Ubuntu environment, but want to learn it, follow my lessons
on installing:
Oracle VirtualBox
with Ubuntu Server.
$ sudo apt update
$ sudo apt install nodejs
$ node --version
$ sudo apt install npm
$ npm --version
➼ update
Downloads package lists to obtain up-to-date information
on packages and their dependencies.
➼ install
Install NodeJS!!!
➼ version
See what version you are using
➼ npm
npm is the node package manager. Instead of apt-get, we will use
npm to install node packages.
$ pacman -S nodejs npm
➼ install Install NodeJS and npm!!!
$ curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash -
$ sudo yum -y install nodejs
/usr/ports/www/node
/usr/ports/lang/node
Follow instructions at nodejs.org
Didn't see your OS? Looking for a different build? Check out all the NodeJS downloads.