CmdID

CmdID / Commands

brew-cleanup

Remove stale lock files and outdated downloads for all formulas and casks. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Remove stale lock files and outdated downloads for all formulas/casks

brew cleanupIdentify

Remove stale lock files and outdated downloads for a specific formula/cask

brew cleanup formulaIdentify

Simulate the cleanup, showing what would be removed

brew cleanup --dry-runIdentify

Display help

brew cleanup --helpIdentify