Compiling Stockfish on Mac OS X

You should be running a relatively recent version of OS X.

Open Terminal and enter the following commands:

git clone https://github.com/official-stockfish/Stockfish.git
cd Stockfish/src
make build ARCH=x86-64
make strip

If you do not have some of the necessary tools installed, OS X will prompt you to download and install them automatically.

The final binary is named "stockfish" and located in the src folder.