Use Current Release: At te last update of this tutorial, Node.js 10.0.0 is the current Node.js release available.
sudo apt-get install curl python-software-properties
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
Use Current Release: At te last update of this tutorial, Node.js 10.0.0 is the current Node.js release available.
sudo apt-get install curl python-software-properties
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
Use LTS Release : At the last update of this tutorial, Node.js 8.11.1 is the LTS release available.
sudo apt-get install curl python-software-properties
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
testing node.js official website.
v10.0.0
Also, check the npm version
npm -v6.0.0