Upgrade all the casks installed via Homebrew Cask

enrico.bacis picture enrico.bacis · Aug 12, 2015 · Viewed 62.1k times · Source

I use Homebrew Cask to install applications on OS X. How do I upgrade all the installed casks?

Answer

scribblemaniac picture scribblemaniac · Aug 13, 2015

There is now finally an official upgrade mechanism for Homebrew Cask (see Issue 3396 for the implementation)! To use it, simply run this command:

brew upgrade --cask

However this will not update casks that do not have versioning information (version :latest) or applications that have a built-in upgrade mechanism (auto_updates true). To reinstall these casks (and consequently upgrade them if upgrades are available), run the upgrade command with the --greedy flag like this:

brew upgrade --cask --greedy