command branding logo

Homebrew

Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple's operating system, macOS, as well as Linux. The name is intended to suggest the idea of building software on the Mac depending on the user's taste.

Homebrew Commands List

Command Name
Command
Command Description
Current Brew Version
brew --version
returns the current version of brew you are using
List Homebrew Packages
brew list
Shows all the packages installed by brew.
Update Brew
brew update
Updates your brew package manager
Update Brew Packages
brew upgrade
Updates All Packages installed by Brew
Update Brew Package
brew upgrade packagename
Updates a specific package installed by Brew
Hold package Upgrades
brew pin packagename
Prevents that package from being updated
Unhold Package Upgrades
brew unpin packagename
unpins the package from being updated
Clean Up Old Versions of package
brew cleanup packagename
uninstalls old versions of that package (brew does not automactically uninstall old versions)
Show Clean Up List Before
brew cleanup -n
Shows the packages that would be cleaned up in ther terminal
Clean Up All Old Packages Versions
brew cleanup
Uninstalls old versions of every package (brew does not automactically uninstall old versions)