to istall versio 10 or more of npm code example Example: npm latest version windows npm-windows-upgrade --npm-path "C:\nodejs"