reg88.com

fine...I'll blog too

How to Install Homebrew on OSX Lion

Homebrew is a tool that allow you to install some missing open-source packages in OSX. This of Homebrew as apt-get for OSX.  It’s also an alternative to Port, but I think this just works better.

Assuming you’re installing Homebrew on OSX Lion, you’ll need the following:

  • OSX Lion
    - Xcode (Can be installed via AppStore)
    - Xcode Command Line Tools (You’ll need an Apple Developers Account)

To install Xcode Command Line Tools
Launch Xcode > Preferences > Downloads > Command Line Tools > Install

To install Homebrew
From Terminal

1
/usr/bin/ruby -e “$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)”  

Now you should be able to install available Unix Tools.
To install packages

1
2
brew install <tool_name>
brew install git