Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@median-man
Created January 11, 2018 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save median-man/f42c1121eaece6c08fa191737ceaa9a1 to your computer and use it in GitHub Desktop.
Save median-man/f42c1121eaece6c08fa191737ceaa9a1 to your computer and use it in GitHub Desktop.
Remove all node_modules folders recursively.
# removes all node_modules folders recursively
find . -name "node_modules" -exec rm -rf '{}' +
# I found this command on Coderwall at
# https://coderwall.com/p/guqrca/remove-all-node_module-folders-recursively
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment