---
title: "清理 brew 上过时的 formula"
description: "用 brew cleanup 腾出一些空间！"
canonical: https://oozou.com/til/cleanup-stale-formulas-on-brew-4
locale: zh-Hans
date: 2020-10-13
topic: macos
---

# 清理 brew 上过时的 formula

> 用 brew cleanup 腾出一些空间！

Published: 2020-10-13 · Topic: [macos](https://oozou.com/zh-Hans/til-topics/macos) ([markdown](https://oozou.com/zh-Hans/til-topics/macos.md))

用 *brew cleanup* 腾出一些空间！

用 *brew cleanup -n* 列出将要被清理的内容

用 *brew cleanup `<formula-name>`* 只清理指定的 formula

\<3

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/zh-Hans/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
