steps to update npm on windows 10 code example Example: npm latest version windows npm-windows-upgrade --npm-path "C:\nodejs"