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

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments