Pages

Subscribe

Find us on Google Plus

2013年11月14日木曜日

MavericksにHomebrewをインストールしてみた

Mavericksをクリーンインストールしたので、改めてHomebrewをインストールしました。一応インストール方法を残しておきます。まずは、下のサイトに記載されてるスクリプトをターミナルに貼り付けます。

Homebrew — MacPorts driving you to drink? Try Homebrew!
http://brew.sh/





スクリプトを実行。
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
スクリプトを実行すると途中でXcode Command Line Toolsのインストールが始まります。
Homebrew_1
Homebrew_2
インストール完了後、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

Xcodeをアップデートするのと、xcodebuild -licenseをターミナルで実行します。

Homebrewの基本的な使い方は表の通り。
コマンド 実行内容
brew install foo foo をインストール
brew search foo インストール可能な formula から foo を検索
brew list インストール済みの formula を表示
brew update Homebrew 本体と formula をアップデート
brew remove foo foo をアンインストール

とりあえず、Homebrewのインストールはここまで。

0 件のコメント:

コメントを投稿