Is it safe to delete Homebrew downloads cache?

~/Library/Caches/Homebrew · Safe to delete

What it is

Downloaded bottles and source archives Homebrew used to install or upgrade packages.

Can you delete it?

Yes, it is rebuilt automatically. Installed packages do not need these files. Homebrew downloads them again for a reinstall.

How to clean it safely

  1. Preview: brew cleanup --dry-run
  2. Run: brew cleanup --prune=all

How big is it on your Mac?

This read-only command prints its size and changes nothing:

 Terminal
du -sh ~/"Library/Caches/Homebrew" 2>/dev/null

Step-by-step guide: Developer caches on a Mac →

Questions

Is it safe to delete ~/Library/Caches/Homebrew?

Yes, it is rebuilt automatically. Installed packages do not need these files. Homebrew downloads them again for a reinstall.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac