仓库源文站点原文


title: 个人备份的常用 macOS 清理命令 date: 2024-03-02 01:10:37 updated: 2024-03-02 01:10:37 categories:


清理 brew(/opt/homebrew)

brew upgrade
brew autoremove
brew cleanup --prune=0

清理 log 日志(/private/var/db/diagnostics)

sudo log erase --all