Skip to content

Instantly share code, notes, and snippets.

@gordlea
Created December 12, 2016 17:06
Show Gist options
  • Save gordlea/cda735f5f28d762981804f0400acd058 to your computer and use it in GitHub Desktop.
Save gordlea/cda735f5f28d762981804f0400acd058 to your computer and use it in GitHub Desktop.
delete node_modules recursively
#!/bin/bash
# taken from https://coderwall.com/p/guqrca/remove-all-node_module-folders-recursively
find . -name "node_modules" -exec rm -rf '{}' +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment