Homebrew on OSX – easy installation of UNIX/Linux tools

“the easiest and most flexible way to install the UNIX tools Apple didn’t include with OS X.

… and they’re right! Homebrew can help you to install a whole range of great UNIX / LINUX tools (wget for one), in single steps; an alternative is MacPorts, but I have abandoned it in favour of Homebrew as it’s far easier! The disadvantage is that it doesn’t have as many tools available.


  1. for Homebrew you’ll need to have XCode installed from your OSX DVD, be using an Intel mac, and might need the Java Developer Update installed;
  2. For SQLite and other necessary tools, install the GDAL complete frameworks from Kyngchaos.

To install Homebrew, paste this into the terminal:

/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

… and that’s it. You can now use brew commands (no sudo needed) on the command line.

Keep Homebrew updated from time to time with:

brew update
brew upgrade