Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Remove node_modules recursivly on Linux or Mac cli

One line CLI remove node_modules

find . -name "node_modules" -type d -prune -print -exec rm -rf '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment