Installing Homebrew on OS X Yosemite, Package Manager for Unix Apps

Homebrew is the newest and most popular of three Package Manager HomebrewMacPorts and Fink.

Get Xcode: Get Xcode 6.3 .

xcode 6.1 for yosemite

Download and install it, you also need to open Xcode agree to the license and it will install its components.

yosemite-xcode-install

Get Command Line Tools

Install Homebrew

To download install Homebrew run the install script on the command line as below and let the script do its thing:

homebrew-osx-install-mountain-lion

Download and install Xquartz brew will moan if it is not installed.

After installing and as suggested in the command line, to check for any issues with the install run: