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