Install node.js on Ubuntu 17.10 server
From the terminal run the following command
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash --
sudo apt-get install -y nodejs
This will install all the dependent packages required to run Node in our system.
Check node and npm version details