how to install latest npm using command prompt code example Example: npm latest version windows npm-windows-upgrade --npm-path "C:\nodejs"