Skip to content

Instantly share code, notes, and snippets.

@jansroka
Created October 24, 2021 16:49
Show Gist options
  • Save jansroka/370651dc30c55e849469b66f41accc82 to your computer and use it in GitHub Desktop.
Save jansroka/370651dc30c55e849469b66f41accc82 to your computer and use it in GitHub Desktop.
Update, upgrade, cleanup brew
#!/usr/bin/env bash
# Probably unnecessary double work, but this works nicely for me
brew doctor
brew update
brew upgrade
brew upgrade --cask
brew outdated --cask | grep -v arq | xargs brew reinstall --cask --force
brew cleanup
brew cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment