Skip to content

Instantly share code, notes, and snippets.

@diyclassics
Created November 3, 2022 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diyclassics/95b0dde5989b7ae99f6d090bed0cd9d9 to your computer and use it in GitHub Desktop.
Save diyclassics/95b0dde5989b7ae99f6d090bed0cd9d9 to your computer and use it in GitHub Desktop.
Homebrew maintenance script
#!/bin/bash
echo "\nUpdating Homebrew...\n"
brew update
echo "\nUpgrading Homebrew...\n"
brew upgrade
echo "\nCleaning Homebrew...\n"
brew cleanup -s
echo "\nChecking Homebrew with doctor...\n"
brew doctor
echo "\nChecking Homebrew with missing...\n"
brew missing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment