How to update/upgrade all Homebrew packages

0 min read 142 words

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

How to Upgrade all packages with Homebrew

brew upgrade

How to Upgrade specific packages with Homebrew

brew upgrade <app_name>

For example:

brew upgrade node

How to Upgrade Casks with Homebrew

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

brew cask upgrade
Tags:
Andrew
Andrew

Andrew is a visionary software engineer and DevOps expert with a proven track record of delivering cutting-edge solutions that drive innovation at Ataiva.com. As a leader on numerous high-profile projects, Andrew brings his exceptional technical expertise and collaborative leadership skills to the table, fostering a culture of agility and excellence within the team. With a passion for architecting scalable systems, automating workflows, and empowering teams, Andrew is a sought-after authority in the field of software development and DevOps.

Tags

Recent Posts