Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 741 Bytes

clean.md

File metadata and controls

27 lines (19 loc) · 741 Bytes

Cleaning your homebrew cellar

At some point a lot of cruft will have accumulated in your homebrew cellar, by cruft I mean old versions of packages you use.

Luckily this can easily be addressed.

$ brew cleanup

The Medium article listed below presents a Bash script to a bit more, I have added my own version here:

#!/bin/bash

brew update
brew upgrade
brew cleanup -s
brew cask cleanup
brew doctor
brew missing

Resources and References

  1. StackOverflow
  2. [Medium: "Keeping macOS clean: this is my osx/brew/…update CLI command"