how to update npm

npm install -g npmnpm i -g npm-upgradenpm-windows-upgrade --npm-version latest
npm-windows-upgrade --npm-path "C:\nodejs"