HomebrewをMavericksに入れる。
AppStoreより、Xcodeをインストール
ターミルから下記コマンド実行
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
Command Line Toolが入っていない場合は、インストールするようにいわれるので、
そのままの流れでインストール
インストールを確認
$ brew doctor
下記、エラーが出力された。
Warning: A newer Command Line Tools release is available
Update them from Software Update in the App Store.
Warning: You have not agreed to the Xcode license.
Builds will fail! Agree to the license by opening Xcode.app or running:
xcodebuild -license
ライセンスの同意が必要らしいので、
$ sudo xcodebuild -license
を実行してagree
を入力してEnter
完了。