LoginSignup
42

More than 5 years have passed since last update.

Mountain Lion環境への「Homebrew」のインストール手順

Last updated at Posted at 2013-05-10

はじめに

「Homebrew」とは、MacOSX用のパッケージ管理システムである。
「Homebrew」を使って、MacOSXにインストールされていないソフトウェアパッケージをインストールすることができる。

今回は、この「Homebrew」を Mountain Lion上にインストールするための手順について記述する。

前提条件

対象の環境情報を以下に示す。

ソフトウェア バージョン
OS OSX バージョン 10.8.3
Java JRE 1.7.0_09
Xcode 4.6.2
Ruby 1.9.3

*) 「Xcode Command Line Tools」もインストールされていること。

インストール手順

1. 「Terminal.app」を開き、以下のコマンドを実行する。

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

2. ターミナル上で以下のコマンドを実行し、「Your system is ready to brew.」が表示されることを確認する。

brew doctor

*) 上記コマンドを実行した際に、以下の警告メッセージが表示されることがある。

Warning: Your XQuartz (2.7.3) is outdated
Please install XQuartz 2.7.4.

この場合、http://xquartz.macosforge.org/landing/からdmgファイルをダウンロードしてインストールすること。

3. ターミナル上で以下のコマンドを実行し、「Homebrew」のバージョンが表示されることを確認する。

brew -v

参考資料

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
42