installing npm in windows code example
Example 1: intall npm
npm install -g npm
Example 2: npm latest version windows
npm-windows-upgrade --npm-path "C:\nodejs"
npm install -g npm
npm-windows-upgrade --npm-path "C:\nodejs"