How to update/upgrade all Homebrew packages
If you use Homebrew – and you probably should if you’re on a Mac – then you have probably installed various different applications and packages as time went on. It’s probably likely that by now, you have many different packages that are out of date and need to be upgraded to their newer versions.
Luckily, Homebrew makes it very easy to upgrade everything; run the following command to upgrade everything.
With this solution, you can brew update all packages and brew upgrade all packages.
How to Update Homebrew to the latest version
|
|
How to Upgrade all packages with Homebrew
|
|
How to Upgrade specific packages with Homebrew
|
|
For example:
|
|
How to Upgrade Casks with Homebrew
In older versions or Homebrew, you may have used casks
. To upgrade these, simply run:
|
|