Charlie Sharpsteen 783be64cf1 Add new external command: unpack
`brew-unpack` is inspired by the `unpack` command of Haskell's Cabal.
`brew unpack <formulae ...>` will fetch the source code archives of one or more
formula and extract them into subfolders of the current working directory. An
alternate root directory may be specified by invoking the `--destdir` flag.

This provides some nice advantages for inspecting source code compared to
`brew install -i -f <formula>`:

  - The extracted source code won't be deleted when the Ruby process
    terminates---which allows for long-term experimentation.

  - The user has control over which directory the code is extracted into.

  - No install process is initiated, so accidentally typing the equivalent of
    `exit 0` will not cause `brew` to mess with an existing installation.

  - Several formulae may be unpacked at once.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-19 08:03:08 -07:00
2011-03-20 19:12:29 -07:00
2011-05-19 08:03:08 -07:00
2011-02-27 20:23:37 +00: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 -fsSL https://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 https://github.com/mxcl/homebrew/tarball/master | sudo /usr/bin/tar xvz -C/usr/local --strip 1

But what packages are available?

Before installing you can browse the Formula folder on GitHub.

After installing, you can use brew search to find packages or brew server to browse packages off of a local web server.

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%