upgrade npm windows code example
Example 1: update npm for laptop
npm install -g npm@latest
Example 2: npm latest version windows
npm-windows-upgrade --npm-path "C:\nodejs"
npm install -g npm@latest
npm-windows-upgrade --npm-path "C:\nodejs"