Install HomeBrew package manager for Mac

Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn't include with OS X. It provides a simpler alternative to MacPorts, installing under an isolated non-root prefix, symlinked to /usr/local

method/1490/Screen Shot 2012-04-21 at 17.37.33.png

You do not need to use sudo when using Homebrew as software is installed to a non-root prefix.

  • An Intel-based Mac
  • OS X 10.5 or higher
  • Command Line Tools for Xcode or Xcode with X11
  • Java Developer Update

Open up to get a shell prompt. Copy & paste the following line at the prompt: /usr/bin/ruby -e "$(/usr/bin/curl -fksSL"

No need to use sudo!

Once installed you can install any software you like as follows:

$ brew install wget