Upgrade Node (node.js) via NPM (network package manager)

By January 3, 2016Sample Work

This couldn’t be easier, if you already have NPM installed on your Mac. Please install here.

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

Now if you’re feeling adventurous update all NPM packages at once!

sudo npm update -g

Leave a Reply

avatar
  Subscribe  
Notify of