Open powershell as administrator and run this command. This safely updates your NPM to newest version safely.
npm i -g npm
Now I will have to update the Node JS version also but this may or may not be in your case
You can install NodeJS by downloading and installing .msi file from their site – https://nodejs.org/en/