Install NodeJS on Ubuntu
Installing NodeJS on Ubuntu machine takes a few easy steps:
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
Node Package Manager (npm) is installed along the way.