Upgrade Node.js via NPM and n

Snippet

Upgrade local npm via the command line using n

sudo npm cache clean -f
sudo npm install -g n
sudo n stable