ubuntu update node to specific version code example
Example: how to upgrade to latest node in ubuntu 17.04 using terminal
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
sudo npm cache clean -f
sudo npm install -g n
sudo n stable