Skip to content

Instantly share code, notes, and snippets.

@tonysaffo
Last active November 2, 2018 09:20
Show Gist options
  • Save tonysaffo/02eb17506c61f69009be69a089a6e66c to your computer and use it in GitHub Desktop.
Save tonysaffo/02eb17506c61f69009be69a089a6e66c to your computer and use it in GitHub Desktop.
Npm update packages and install
sudo npm i -g npm-check-updates // utility for updating npm packages
sudo npm i -g npm // updating npm
ncu -u // check all updates
sudo npm install --unsafe-perm=true --allow-root // npm i
sudo npm audit fix // npm vulnerable fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment