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.

[raw] sudo npm cache clean -f
sudo npm install -g n
sudo n stable
[/raw]

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

[raw] sudo npm update -g
[/raw]

Leave a Reply