Safe to Delete

Homebrew Package Cache (~/Library/Caches/Homebrew)

Quick Answer: Homebrew caches downloaded bottle binaries (.tar.gz) and source code archives. Purging the cache via brew cleanup is safe.

Bottom Line: It is 100% safe to clear the Homebrew cache. Homebrew stores copies of every formula installer bottle you download. Deleting them reclaims gigabytes of SSD space without uninstalling any apps.


What is the Homebrew Cache Folder?

Located at ~/Library/Caches/Homebrew on macOS, Homebrew uses this folder to store downloaded binary bottles (.tar.gz), API JSON indexes, and git repository mirrors for command-line tools installed via brew install.

Over time, older package versions remain cached indefinitely, consuming 10 GB to 40 GB+ of Mac disk space.


Can You Delete the Homebrew Cache?

✅ Yes, completely safe to delete.

  • No app loss: Your installed CLI tools (git, node, python, ffmpeg) remain untouched.
  • Re-download on demand: If you reinstall a formula later, Homebrew will simply fetch a fresh bottle.

How to Clean Up Homebrew Cache

brew cleanup -s

Delete Cache Directory Directly

rm -rf ~/Library/Caches/Homebrew/*

Discussion

Loading authentication...

Related in macos

macOS Background Download Session Cache (com.apple.nsurlsessiond)

nsurlsessiond caches incomplete background file downloads for system apps and iCloud daemon sync. Clearing the cache is safe.

Safe to Delete

macOS Font Server Cache (/var/db/ats)

Apple Type Services (ats) caches font rendering metrics. Resetting the font cache fixes corrupted font glyphs and system text glitches.

Safe to Delete

macOS System Font Cache Directory (com.apple.fontd)

macOS caches system and user font rendering structures in com.apple.fontd. Learn how to reset macOS font cache to fix garbled text.

Safe to Delete
Back to all files