brew cleanup
Remove stale lock files and outdated downloads for all formulas and casks. More information: https://docs.brew.sh/Manpage#cleanup-options-formulacask-.
- Remove stale lock files and outdated downloads for all formulas/casks:
brew cleanup
- Remove stale lock files and outdated downloads for a specific formula/cask:
brew cleanup
- Simulate the cleanup, showing what would be removed:
brew cleanup
- Display help:
brew cleanup
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
