Created
February 26, 2015 19:39
-
-
Save csbailey5t/ac3c471d5257cfc43a40 to your computer and use it in GitHub Desktop.
Bash to uninstall all local node_modules; run from directory containing package.json
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
for package in `ls node_modules/`; do npm uninstall $package; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment