How Can I Update npm on Windows 11?

My npm was v8.3.1. I am going to update it to the latest v8.3.2.

Here is the way I update it on Windows 11 and Powershell 7.2.1.

Run Powershell as administrator.

 

npm install -g npm-windows-upgrade
npm-windows-upgrade

It is quite simple when I run npm-windows-upgrade. It gives me a choice to choose which version I want to upgrade.

I picked the 8.3.2 and hit the return key. Done in seconds.

 

Leave a Reply

Your email address will not be published.