Created
August 21, 2017 10:01
-
-
Save HintikkaKimmo/cd3baf6f4e63bb8b8be0bbdcfd8d6df9 to your computer and use it in GitHub Desktop.
Npm global package management
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Updating global packages | |
To update global packages, you can use npm update -g <package>: | |
npm update -g jshint | |
To find out which packages need to be updated, you can use npm outdated -g --depth=0. | |
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. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment