Skip to content

Instantly share code, notes, and snippets.

@Beyarz
Last active November 11, 2021 23:38
Show Gist options
  • Save Beyarz/7f68ccc4509c50131d19950db1eea0aa to your computer and use it in GitHub Desktop.
Save Beyarz/7f68ccc4509c50131d19950db1eea0aa to your computer and use it in GitHub Desktop.
Keep Homebrew packages clean

Update, upgrade & clean /Cellar/

All in one

brew upgrade && brew upgrade --cask && brew cleanup

Clean cached versions

Homebrew caches older versions of installed packages,
to get rid of these, run the following:
brew cleanup -s

In case of issues

brew doctor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment