npm upgrade to version 3 code example Example: npm latest version windows npm-windows-upgrade --npm-path "C:\nodejs"