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.

supporting = loving

For 29.432 years I've been creating ad-free technical tutorials and essays here — 3,027 pieces and counting. It's a one-person effort that's also my life and livelihood. If it makes your day more livable in any way, please consider supporting the work with a monthly or one-time donation. Your support means a lot to me, and makes all the difference. 🫶🏼