This works fine for me
Run Command Prompt as Administrator
- Navigate to the folder containing nodejs (eg. C:\Program Files\nodejs)
Run Powershell -ExecutionPolicy Unrestricted
Run npm-windows-upgrade
- This will show list of versions available to install. Just select your desired version by moving up/down key & Press Enter.
This'll update your npm
- To check the current version of npm
Run npm --version
Command Prompt Screenshot