諸行無常

IT色々お勉強中のブログ

Homebrewインストール

xcodeをインストール

$ xcode-select --install

homebrewをインストール、PCパスワード聞かれるよ

$ 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

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.

Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
Sorry, try again.
sudo: 3 incorrect password attempts
Failed during: /usr/bin/sudo /bin/mkdir /usr/local

最新かどうか

$ brew doctor
Your system is ready to brew.

バージョン確認

$ brew -v
Homebrew 0.9.5 (git revision 3546; last commit 2015-12-29)
$ brew update
Already up-to-date.