Answers for "update an npm package"

78

update npm

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

how to update my package.json

npm install -g npm-check-updates
/after install run following:
ncu -u

//Then this:
npm update
Posted by: Guest on October-09-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
2

npm update to latest

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

how to update npm

npm install -g npm
Posted by: Guest on December-13-2020
1

update npm

npm install -g npm@latest 
// for global install
Posted by: Guest on July-17-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language