Powershell does not execute npm directly, I suggest using
.\npm install -g npm-windows-upgrade
.\npm-windows-upgrade
and it failed with:
You wanted to install npm 6.1.0, but the installed version is 3.10.10.
A common reason is an attempted "npm install npm" or "npm upgrade npm". As of today, the only solution is to completely uninstall and then reinstall Node.js. For a small tutorial, please see http://aka.ms/fix-npm-upgrade.
Please consider reporting your trouble to http://aka.ms/npm-issues.
http://aka.ms/fix-npm-upgrade <-- this is a dead link