The NPM team officially recommends this method of updating Node. (source below)
Let’s begin.
First, open PowerShell as administrator and run the following command.
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm-windows-upgrade
You will be prompted to select a version of NPM to install. Use arrow keys to move up and down and choose the version you want to update to and press Enter.

If your upgrade is successful, you should see something like this.

Nice one, thanks Matthew!
HI mattew. ican’t necesserly proceed from the first syntax “Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force” how can i fix it?
Try to run the script with administrator rights.
Right click on the downloaded python installer and click run as administrator.
Thank you soo much..it did work. thanks for the relief