Skip to Content
Brew Commands

Brew Commands

A practical reference for the Homebrew commands you will use most, and where to find each one in Brewwery. Run them in Terminal, or use the matching Brewwery page.

For the complete list, see brew help or the official manual .

Install and remove

CommandWhat it doesIn Brewwery
brew install <formula>Install a formulaSearch, Discover → Install
brew install --cask <cask>Install a Mac app or other caskSearch, Discover → Install
brew uninstall <formula>Remove a formulaPackages → details → Uninstall
brew uninstall --cask <cask>Remove a caskCasks → details → Uninstall
brew reinstall <formula>Remove and install againTerminal only
brew autoremoveRemove dependencies nothing needs any moreTerminal only

Find packages

CommandWhat it doesIn Brewwery
brew search <text>Search formulae and casksSearch (⌘K)
brew info <formula>Show versions, dependencies, and caveatsDetails panel
brew info --cask <cask>Show information about a caskDetails panel
brew home <formula>Open the project’s homepageDetails panel → Open homepage

What is installed

CommandWhat it doesIn Brewwery
brew list --formulaList installed formulaePackages
brew list --caskList installed casksCasks
brew leavesFormulae that nothing else depends onPackages → Leaves
brew deps <formula>What a formula depends onDetails panel → Dependencies
brew uses --installed <formula>Installed formulae that depend on itDetails panel → Installed dependents

Keep things up to date

CommandWhat it doesIn Brewwery
brew updateFetch the latest Homebrew and package informationUpdates → Check for updates
brew outdatedList packages with newer versionsUpdates
brew upgrade <formula>Upgrade one formulaUpdates → Upgrade
brew upgrade --cask <cask>Upgrade one caskUpdates → Upgrade
brew upgradeUpgrade everythingUpdates → Upgrade all
brew pin <formula>Hold a formula at its current versionPackage details → Pin version
brew unpin <formula>Allow a pinned formula to upgrade againPackage details → Unpin version, or Updates → Unpin

brew update only refreshes information — it does not upgrade anything. Run brew upgrade afterwards to install new versions.

Taps

CommandWhat it doesIn Brewwery
brew tapList tapsTaps
brew tap <owner/repository>Add a tapTaps → Add tap
brew untap <owner/repository>Remove a tapTaps → Remove

Services

CommandWhat it doesIn Brewwery
brew services listList services and their statusServices
brew services start <name>Start a service now and at loginServices → Start
brew services stop <name>Stop a serviceServices → Stop
brew services restart <name>Restart a serviceServices → Restart

Maintenance

CommandWhat it doesIn Brewwery
brew cleanup -nShow what cleanup would removeCleanup → Preview cleanup
brew cleanupRemove old versions and cachesCleanup → Run cleanup
brew doctorCheck your installation for problemsDoctor
brew configShow Homebrew’s configurationSettings, Copy diagnostics
brew --versionShow the Homebrew versionDashboard, Settings

Brewfiles

CommandWhat it doesIn Brewwery
brew bundle dump --file=<path>Write your setup to a BrewfileBrewfile → Export Brewfile
brew bundle install --file=<path>Install everything in a BrewfileBrewfile → Install missing items (on a list Brewwery writes, with --no-upgrade)
brew bundle check --file=<path>Check whether a Brewfile is satisfiedTerminal only

Commands marked Terminal only are not run by Brewwery. See Security for the exact list of commands Brewwery can run.

Last updated on