Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm-windows-upgrade
原文:
https://blog.csdn.net/wangyiyungw/article/details/82771294
https://stackoverflow.com/questions/18412129/how-can-i-update-npm-on-windows