brew cleanup [arg...]
Remove stale lock files and outdated downloads for all formulae and casks and remove old versions of installed formulae
Arguments
Options
Name | Description |
---|
-d, --debug | Display any debugging information |
-q, --quiet | Make some output more quiet |
-v, --verbose | Make some output more verbose |
-h, --help | Show help message |
--prune, --prune=all | Remove all cache files older than specified days |
-n, --dry-run | Show what would be removed, but do not actually remove anything |
-s | Scrub the cache, including downloads for even the latest versions |
--prune-prefix | Only prune the symlinks and directories from the prefix and remove no other files |