How to Update NPM on Windows 10

NPM Tutorials and Tips Windows 10

The NPM team officially recommends this method of updating Node. (source below)

Let’s begin.

First, open PowerShell as administrator and run the following command.

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

You will be prompted to select a version of NPM to install. Use arrow keys to move up and down and choose the version you want to update to and press Enter.

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


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.