Adam Vandenberg 8a60d852b3 Check git repos for validity before updating.
If you `brew install erlang` and then control-C during the git clone,
you can leave your cloned repo in an invalid state.

This change does a "git status" on the clone if it exists, and nukes
it if the status is invalid (forcing a clean clone.)
2010-09-24 07:50:20 -07:00
2010-09-07 13:23:43 -07:00
2010-09-16 11:27:56 -07:00
2010-06-13 21:46:24 -07:00
2010-06-22 09:47:25 -07:00

Homebrew

Features and usage are summarized on the homepage.

Quick Install to /usr/local

This script will prompt for confirmation before it does anything:

ruby -e "$(curl -fsS http://gist.github.com/raw/323731/install_homebrew.rb)"

Afterwards, install Xcode.

Umm… I thought I could install it anywhere?

Indeed, you can. Refer to our complete installation instructions.

Dude! Just give me a one-liner!

Okay then, but please note this installs Homebrew as root and we recommend against that.

curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1

More Documentation

The wiki is your friend.

Who Are You?

I'm Max Howell and I'm a splendid chap.

Description
🍺 The missing package manager for macOS (or Linux)
Readme 144 MiB
4.6.25 Latest
2025-09-16 21:53:50 +00:00
Languages
Ruby 92%
Shell 5.2%
Roff 2.1%
HTML 0.5%