Node.js
Installing Node.js and npm on Linux is fairly easy, and there are multiple methods to do so.
Nodejs.org
You can go to nodejs.org and download the installation for your OS. This is the simplest and easiest way to get the Long Term Support (LTS) or Current - Latest and Greatest downloads. You can also find API docs, Release Notes, and general purpose info about using nodejs.
After downloading the version you want follow the instructions in the installation guide.
Apt
In a hurry, just pull node from your package manager
sudo apt install nodejs npm
Last update: September 26, 2020