Installing Homebrew on Yosemite

March 23, 2014

Here’s how to install homebrew on OS X Yosemite.

Remove and clean up any previous installations:

rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup

Install a fresh copy of Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Detect any issues using Homebrew’s doctor command:

brew doctor

Clean up any issues from doctor.

Install your software.

Now you’ll be running with Ruby 2.x (default in Yosemite) as well as the latest Homebrew.

Reader-supported

For roughly 29.7189 years I've written here, ad-free—3,068 essays and tutorials and counting. If it's useful to you, a monthly or one-time donation keeps it going. 🫶🏼