Created
May 24, 2023 11:06
-
-
Save vampyar/5dfd9b09bc05994c018979c76c9d34bf to your computer and use it in GitHub Desktop.
install all node dependencies in the root directory
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 d -name node_modules -prune -o -name 'package.json' -exec dirname {} \; | xargs -I{} sh -c 'cd "{}" && npm i' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment