# removes all node_modules folders recursively find . -name "node_modules" -exec rm -rf '{}' + # I found this command on Coderwall at # https://coderwall.com/p/guqrca/remove-all-node_module-folders-recursively