Installing Node JS using a NodeSource PPA
# Download the latest NodeSource setup script
curl -fsSL https://deb.nodesource.com/setup_lts.x -o nodesource_setup.sh
sudo -E bash nodesource_setup.sh
# Use either one of the following commands to install Node.js
sudo apt-get install -y nodejs or sudo apt-get install -y nsolid
# check node version
node -v
Last updated on