windows 1 update npm version code example Example: npm latest version windows npm-windows-upgrade --npm-path "C:\nodejs"