recursively delete node_modules windows code example Example: recursively delete node_modules find . -name "node_modules" -type d -exec rm -rf '{}' +