Created
September 15, 2014 09:12
-
-
Save shesek/42a83788cb9238c76ccf to your computer and use it in GitHub Desktop.
Install all nodejs packages contained in sub-directories
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
find . -type f -name package.json ! -path ./package.json ! -path '*node_modules*' | xargs -I '{}' sh -c 'cd $(dirname {}) && npm install' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment