- Unsupervised Learning
- Posts
- Installing Homebrew on Yosemite
Installing Homebrew on Yosemite
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/be43efc0-dccf-4a0b-b08a-07d5fc66c25f/homebrew-256x256-1.png)
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.