How to Update NPM on Windows 10

NPM Tutorials and Tips

This method of updating Node is officially recommend by the NPM team. (source below)

To update Node, first open powershell as administrator and run the following command.

Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm-windows-upgrade

You will be prompted to select a version of NPM to install.

Use arrow keys to move up and down and select the version you want to update to and press Enter.

If your upgrade is successful you should see something like this.

Source

Matthew Horne

Matthew is a web developer from the United Kingdom who taught himself PHP and JavaScript and never looked back. If you would like to hire me, shoot me an email.

No comments yet. Be the first.

Leave a Comment