Skip to content

Instantly share code, notes, and snippets.

@ksloan
Created March 4, 2020 02:21
Show Gist options
  • Save ksloan/751b090a3ece0388d7e782f74a096cf2 to your computer and use it in GitHub Desktop.
Save ksloan/751b090a3ece0388d7e782f74a096cf2 to your computer and use it in GitHub Desktop.
remove all node_modules
# prune to ignore nested node_modules within node_modules
rm -rf `find . -type d -name node_modules -prune`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment