---
title: "清理 brew 上過時的 formula"
description: "使用 brew cleanup 拿回一些空間！"
canonical: https://oozou.com/til/cleanup-stale-formulas-on-brew-4
locale: zh-Hant
date: 2020-10-13
topic: macos
---

# 清理 brew 上過時的 formula

> 使用 brew cleanup 拿回一些空間！

Published: 2020-10-13 · Topic: [macos](https://oozou.com/zh-Hant/til-topics/macos) ([markdown](https://oozou.com/zh-Hant/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-Hant/contact

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