DevDuster

Free space used by Homebrew on your Mac: the download cache, old package versions and unused dependencies, with brew cleanup and autoremove.

What Homebrew keeps

Homebrew keeps every bottle and source it downloads in its cache, and old versions of upgraded packages stay installed until cleanup runs. See how large the cache is:

du -sh "$(brew --cache)"

On Apple silicon it is usually ~/Library/Caches/Homebrew.

brew cleanup

# Preview what would be removed
brew cleanup -n

# Old versions and downloads older than 120 days
brew cleanup

# Every cached download, including current versions
brew cleanup --prune=all

Homebrew also runs a cleanup by itself from time to time after installs and upgrades. Nothing in the cache is needed to run installed packages.

Remove unused dependencies

brew autoremove -n   # preview
brew autoremove

This uninstalls packages that were only installed as a dependency of something you have since removed.

How DevDuster handles Homebrew

The Homebrew download cache is in the safe tier: Homebrew downloads bottles again when needed. DevDuster does not uninstall packages or old versions; use brew cleanup and brew autoremove for those.

Do it in one pass. DevDuster is a free, open-source Mac cleaner for developers. It finds all of the above, shows exact paths and sizes, and moves only what you confirm to the Trash.

Every rule DevDuster ships, with its exact paths, is on What's safe to delete.