Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save selfish/6cbd574cf661652d69d47fde0f70550f to your computer and use it in GitHub Desktop.
Save selfish/6cbd574cf661652d69d47fde0f70550f to your computer and use it in GitHub Desktop.
Upgrade outdated brew casks. One liner, and the ”official” way to do it without using different hacks or scripts. However, it does not really replace some scripts out there, as in-app updates is not seen by Homebrew.
# Upgrade / Update outdated casks installed.
# --------------------------------------------------------------------------------
# Looks for outdated casks and installs the the latest version.
# User data (like application preferences) is intact.
# Updated one liner (thanks Henrik242)
# --------------------------------------------------------------------------------
brew upgrade $(brew outdated --cask --greedy --quiet)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment