Brew: The Missing Package Manager for macOS (and Linux).

Updating brew

brew has its own built-in upgrade management.

brew update
brew upgrade

Cheat Sheet

Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.

How to install CLI packages

brew update
brew install node

How to install GUI packages

brew update
brew cask install docker

Where are things installed?


brew screwed up everything, now what?

Sometimes you're compelled against all reason to do something really stupid, like brew upgrade or brew update python, and your whole system gets borked.

For _Mojave_, _Catalina_, _Big Sur_, and above:

/bin/bash -c "$(curl -fsSL"

For High Sierra and below:

/bin/bash -c ruby -e "$(curl -fsSL"


Report an Issue Submit Installer