Update NPM to Latest Stable Version

Posted 12/01/2016 11:04 AM by Corey Klass

To update the Node Package Manager (NPM) to the latest stable version.

Install N:

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

Run N and request the latest stable version

sudo n stable