

Should it still be there, you will need to either choco uninstall npm or delete the files from this bin directory. If you used Chocolatey ( ) to install Node.js, be sure to check if npm is removed from the choco\bin directory by running the following command: where.exe npm.


If the tool fails to upgrade, it may be troubled by partial changes done during npm install npm or npm upgrade npm. Fix an Attempted UpgradeĬhances are that you attempted to upgrade npm before, it somehow failed, and you then went looking for this tool. For details, please consult the LICENSE file. This tool was made with ❤️ for npm and Node, but it is provided "as is", without warranty of any kind, expressed or If you run into trouble and need npm upgraded as soon as possible, please follow the manual instructions. There are a bunch of Windows versions, hundreds of different ways to install Node and npm, and it's likely that this script won't work with a few of them. To see debug output, set a DEBUG environment variable ( $env:DEBUG="npm-windows-upgrade") Issues & Support To disable the initial prompt, pass -no-prompt. To override the internet connection check, pass -no-dns-check.
