The missing package manager for OS X
Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn't include with OS X.
$ brew install wgetPackages are installed into their own isolated prefixes and then symlinked into /usr/local.
$ cd /usr/local
$ find Cellar
Cellar/wget/1.12
Cellar/wget/1.12/bin/wget
Cellar/wget/1.12/share/man/man1/wget.1
$ ls -l bin
bin/wget -> ../Cellar/wget/1.12/bin/wgetJust extract the tarball and straight away you have a working Homebrew installation.
Create new Homebrew packages in seconds.
$ brew create http://foo.com/bar-1.0.tgz
Created /usr/local/Library/Formula/bar.rbEasily adapt Homebrew formula to your needs. And since it's all Git underneath your changes are merged automatically with upstream updates.
$ brew edit wget # opens in TextMate!Homebrew formula are simple Ruby scripts:
require 'formula'
class Wget < Formula
  homepage 'http://www.gnu.org/wget/'
  url 'http://ftp.gnu.org/wget-1.12.tar.gz'
  md5 '308a5476fc096a8a525d07279a6f6aa3'
  def install
    system "./configure --prefix=#{prefix}"
    system 'make install'
  end
endHomebrew complements OS X. Install your gems with gem, and their dependencies with brew.
“ Homebrew is the bee’s knees, friends. So far it’s a perfect replacement for MacPorts. ”— @thillerson
