Answers for "how to update npm version"

78

update npm

// update npm//
npm install -g npm@latest
Posted by: Guest on January-11-2021
0

upgrade npm

npm i -g npm-upgrade
Posted by: Guest on May-21-2020
1

update npm

npm install -g npm@latest
#may require the use of sudo depending on your distro
sudo npm install -g npm@latest
Posted by: Guest on August-10-2021
15

npm update.

// update npm//
npm install -g npm@latest
Posted by: Guest on March-02-2021
2

npm update to latest

npm i -g npm@latest
Posted by: Guest on July-22-2020
0

how to update npm version in windows

On Win10:
Run PowerShell as Administrator and sequentially enter commands:

Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm-windows-upgrade
Posted by: Guest on April-05-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language