Skip to content
Snippets Groups Projects
user avatar
Charlie Sharpsteen authored
`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: default avatarAdam Vandenberg <flangy@gmail.com>
783be64c
History
Name Last commit Last update
Library
bin
share/man/man1
.gitignore
README.md

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.