remove node_modules Removes all of the node_modules directories in a single command from the CWD find . -name "node_modules" -type d -exec rm -rvf '{}' +