homebrewのインストール:OSX 10.8 MountainLion

OSX 10.8 MountainLionに、homebrewをインストールします。

Homebrewの本家サイトに「Install Homebrew」とあるので、そのコマンド実行例をコピー&ペーストして実行します。途中の”Press ENTER to continue or any other key to abort”ではEnterキーで進みます。”To proseed, enter your password, or type Ctrl-C to abort.”では、実行ユーザのパスワードを入力します。

$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1

Press ENTER to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir /usr/local

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local
==> Downloading and Installing Homebrew...
remote: Counting objects: 121009, done.
remote: Compressing objects: 100% (58751/58751), done.
remote: Total 121009 (delta 84680), reused 94982 (delta 61288)
Receiving objects: 100% (121009/121009), 19.40 MiB | 953 KiB/s, done.
Resolving deltas: 100% (84680/84680), done.
From https://github.com/mxcl/homebrew
 * [new branch]      master     -> origin/master
HEAD is now at 354b4d9 little-cms{,2}: make jpeg and libtiff recommended
==> Installation successful!
You should run `brew doctor' *before* you install anything.
Now type: brew help

インストールできたようです。アップデートと診断を実行しておきます。

$ brew update
Already up-to-date.
$ brew doctor
Your system is ready to brew xenical orlistat.