Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Updating global packages
  2.  
  3. To update global packages, you can use npm update -g <package>:
  4.  
  5. npm update -g jshint
  6. To find out which packages need to be updated, you can use npm outdated -g --depth=0.
  7.  
  8. To update all global packages, you can use npm update -g. However, for npm versions less than 2.6.1, this script is recommended to update all outdated global packages.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement