March 28, 2017 | Tam Nguyen Remove all node_module folders recursively find . -name "node_modules" -exec rm -rf '{}' + That will delete the folder and files even if there is a space in the name. That saved me about 10GB over several hundred node projects which I had not touched in a while. If I need the node modules back, I can simply run npm install Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Google+ (Opens in new window) Related