Upgrade npm on Windows easily | GitHub

A very useful package for getting around the otherwise convoluted steps needed to upgrade npm on Windows. Just open up a PowerShell instance as Admin and use the following three commands (and only the last one if you need to do this again):

Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install --global --production npm-windows-upgrade
npm-windows-upgrade

Simple and utterly painless 👏

Explore Other Notes

  • <!DOCTYPE html> <html> <head> <title></title> </head> <body> <p>A very useful package for getting around the otherwise convoluted steps needed to upgrade npm on Windows. Just open up a PowerShell instance as Admin and use the following three commands (and only …</p> </body> </html>
  • Murray Adcock.
Journal permalink