homebrewというコマンドラインでの、パッケージインストーラ?のインストール手順です。

#Xcodeのインストール

Macの開発者ツールかと思いますが、こちらをインストールします。
$ xcode-select –install

rubyコマンドでターミナルからインストールします。
#brewのインストール
$ ruby -e “$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)”
Whoops, the Homebrew installer has moved! Please instead run:

ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

Also, please ask wherever you got this link from to update it to the above.
Thanks!

私の場合エラーが表示されましたので、言われた通りのコマンドを実行します。

$ ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/…
/usr/local/share/man/man1/brew.1

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir /usr/local
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Downloading and installing Homebrew…
remote: Counting objects: 3558, done.
remote: Compressing objects: 100% (3407/3407), done.
remote: Total 3558 (delta 35), reused 1473 (delta 19), pack-reused 0
Receiving objects: 100% (3558/3558), 2.70 MiB | 2.47 MiB/s, done.
Resolving deltas: 100% (35/35), done.
From https://github.com/Homebrew/homebrew
* [new branch] master -> origin/master
HEAD is now at 0296162 shadowsocks-libev: update 2.2.0 bottle.
==> Installation successful!
==> Next steps
Run `brew help` to get started

successfulが表示されたので「brew」コマンドが使用できるようになります。

カテゴリー: MacTech