Update Node.js with NPM

Thanks to David Walsh for this awesome post on updating node.js

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

Check the newly update node version

node -v

Boom! New Node!

Leave a Reply