# 工具命令：删除当前目录下的 node_modules 目录

- Link: https://www.ixiqin.com/2019/05/01/tool-command-delete-the-current-directory-node_modules-command/
- Published: 2019-05-01T15:56:24+08:00
- Author: 白宦成

```javascript
    find . -name "node_modules" -exec rm -rf '{}' +
    Code language: JavaScript (javascript)
    ```

来源：[https://segmentfault.com/q/1010000002972327](https://segmentfault.com/q/1010000002972327)
