How to Use Homebrew on Mac (2026)
To use Homebrew, run brew <command> in Terminal: brew install to add software, brew upgrade to update everything, brew uninstall to remove it, and brew doctor to fix problems.
Install & remove
brew install <tool>Install a command-line tool (formula), e.g. brew install git.
brew install --cask <app>Install a graphical app (cask), e.g. brew install --cask arc.
brew uninstall <name>Remove a formula. Add --cask for an app.
brew listList everything you have installed.
Find software
brew search <term>Search for formulae and casks by name.
brew info <name>Show version, dependencies, and the homepage for a package.
Keep things current
brew updateRefresh the catalog of available packages.
brew upgradeUpgrade everything you have installed to the latest version.
brew outdatedSee which installed packages have updates available.
Maintenance & repair
brew doctorDiagnose common problems with your Homebrew setup.
brew cleanupDelete old versions and free up disk space.
brew bundle dumpWrite a Brewfile of your current setup so you can reproduce it.