How to install Homebrew on macOS 10.12 Sierra

Homebrew is, in my opinion, an essential package manager for macOS. According to Homebrew’s website it “installs the stuff you need that Apple didn’t”.

Before installing Homebrew, you have to get Xcode from the App Store.
After you have downloaded Xcode, open the “Terminal” app in /Applications/Utilities/, and run:

xcode-select --install

to install the Xcode command line tools.

Xcode Command Line Installation

Then, run:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

And let Homebrew install.

How do you use Homebrew?

Some commands you can run are:
brew search [TEXT|/REGEX/]
brew (info|home|options) [FORMULA...]
brew install FORMULA...
brew update
brew upgrade [FORMULA...]
brew uninstall FORMULA...
brew list [FORMULA...]

Leave a Reply

Your email address will not be published. Required fields are marked *