Last active
April 18, 2017 20:03
-
-
Save dphoebus/d453affc1d76ed644822aaf62bd55439 to your computer and use it in GitHub Desktop.
List of useful NPM commands
This file contains 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
// List globally installed packages and their versions | |
// ------------------------------------------------------- | |
npm list -g --depth=0 | |
// List outdated globally installed packages | |
// ------------------------------------------------------- | |
npm outdated -g | |
// Reduce duplication in global packages | |
// ------------------------------------------------------- | |
npm dedupe -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment