Skip to content

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

brew update
Code language: Bash (bash)

How to Upgrade all packages with Homebrew

brew upgrade
Code language: Bash (bash)

How to Upgrade specific packages with Homebrew

brew upgrade <app_name>
Code language: Bash (bash)

For example:

brew upgrade node
Code language: Bash (bash)

How to Upgrade Casks with Homebrew

In older versions or Homebrew, you may have used casks. To upgrade these, simply run:

brew cask upgrade
Code language: Bash (bash)

See also  How to copy S3 objects between AWS accounts
Tags:
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x