Run this to recursively delete all node_modules
folders.
find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
There is no undo. Please use https://github.com/sindresorhus/trash-cli instead of rm -rf
if you want to be safe(r).
Run this to recursively delete all node_modules
folders.
find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
There is no undo. Please use https://github.com/sindresorhus/trash-cli instead of rm -rf
if you want to be safe(r).