Last active
June 29, 2020 17:18
-
-
Save ewliang/c77b41a70bc960f4b2f44530fe663087 to your computer and use it in GitHub Desktop.
Useful npm commands to know for convenience.
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 All Globally Installed NPM Packages on Operating System | |
npm list -g | |
npm list -g --depth 0 | |
> By adding "--depth 0", you avoid printing out the globally installed packages' dependencies. | |
// Update NPM on Windows | |
npm install -g npm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment