Homebrew is “The missing package manager for OS X”. It’s pretty great. Unfortunately, upgrading to OS X Yosemite might break it, as it did for me.
There are several paths for fixing it, depending on when you realize it’s broken. Here are a few possible fixes that you can use.
If you just want the bottom line, here it is:
- If you still haven’t upgraded to OS X Yosemite, run
brew updatebefore the OS X upgrade. - If you already upgraded OS X and your Homebrew is broken, run
git pullfrom/usr/local, and then runbrew update.
Read on for more details on my experience with the break and fix.



