powershell Set-ExecutionPolicy RemoteSigned
npm install -g npm-windows-upgrade
npm-windows-upgrade
npm install --global --production npm-windows-upgrade
npm-windows-upgrade
On Win10:
Run PowerShell as Administrator and sequentially enter commands:
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm-windows-upgrade