Install node js with package manger
Open this url
https://nodejs.org/en/download/package-manager/
I want to install NOTE: Node.js >= 4.x
Run curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
Then run sudo apt-get install -y nodejs
sudo apt-get install -y nodejs