Installation on Mac OS X is quite a straightforward process if you have the right tools installed.
We will be using a package manager for Mac OS X that is really a must-have tool for any Mac user and even more important if you are a developer or a system engineer.
The package manager we will be using is Homebrew, the missing package manager for OS X
You will need to install Homebrew first if you don't have it, installation is straightforward and all instructions are explained in different languages for your comfort at http://brew.sh/.
Or you can simply use this one liner to install Homebrew on your Mac:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"