Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
OrganizationAdvent CalendarQiitadon (β)
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?


More than 5 years have passed since last update.

環境:Mac OS X 10.9.4

※ MacPortsとHomebrewは共存しない方が安全らしいです。


Command Line Tools for Xcodeのインストール

Homebrewのインストールには、Command Line Tools for Xcodeが必要なのでインストールします。
※ 事前にXcodeがインストール(App Storeからインストールできます)されて、ライセンス使用許諾契約に同意済みであること。

$ xcode-select --install
xcode-select: note: install requested for command line developer tools

Command Line Tools for Xcodeのインストールダイアログ

  1. 「インストール」ボタンを押下する。
  2. 使用許諾契約画面が表示されるので「同意する」を押下する。
  3. Command Line Tools for Xcodeのインストール完了です。



$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
==> This script will install:
==> The following directories will be made group writable:
==> The following directories will have their group set to admin:

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin /usr/local/lib /usr/local/share /usr/local/share/doc

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.

==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/bin /usr/local/share /usr/local/share/doc
==> /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: 184874, done.
remote: Compressing objects: 100% (50748/50748), done.
remote: Total 184874 (delta 133006), reused 184810 (delta 132957)
Receiving objects: 100% (184874/184874), 36.91 MiB | 57.00 KiB/s, done.
Resolving deltas: 100% (133006/133006), done.
From https://github.com/Homebrew/homebrew
 * [new branch]      master     -> origin/master
HEAD is now at 601338e Remove proc handling from BuildEnvironment
==> Installation successful!
==> Next steps
Run `brew doctor` before you install anything
Run `brew help` to get started

インストールが終了すると、brew doctorを実行しなさいと促されるので実行します。

brew doctorの実行

brew doctorはHomebrewのインストールやその後の使用に問題がないか確認するためのコマンドです。

$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:


$ mv /usr/local/lib/libecomlodr.dylib /usr/local/lib/libecomlodr.dylib.bak 

2014.12.1 追記
どうもNorton Internet Security関連ぽい Issue #18348、警告なので無視しても良いのかも…

再度、brew doctorを実行。

$ brew doctor
Your system is ready to brew.


$ brew -v
Homebrew 0.9.5


$ brew update
Updated Homebrew from 601338e8 to d19f3bdb.
==> Updated Formulae
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
個人的な技術系の覚え書きなどを公開していきます。 最近の興味はAWS / IBM Bluemix。


No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
Help us understand the problem. What is going on with this article?