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