- Update npm itself
npm install -g npm@latest - See which global packages are out of date
npm outdated -g - Update them all
npm update -g
Check it worked
- Check npm's version
npm --version
- Update npm itself
npm install -g npm@latest - See which global packages are out of date
npm outdated -g - Update them all
npm update -g
Check it worked
- Check npm's version
npm --version
- Update npm itself
npm install -g npm@latest - See which global packages are out of date
npm outdated -g - Update them all
npm update -g
Check it worked
- Check npm's version
npm --version