mac电脑清理磁盘

89 阅读1分钟

1. Lemon清理

2. mole 命令行清理

curl -fsSL https://raw.githubusercontent.com/tw93/mole/main/install.sh | bash

或者

brew install tw93/tap/mole

然后执行

mo clean --dry-run

看一下预计清理多少空间,会删除哪些文件,再执行

mo clean

3. npkill 命令行清理

专门清理node_modules文件夹

安装方式比较简单

npm install -g npkill

然后执行

npkill

就可以了