HomebrewとGitをインストールをインストールした。
- ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
- brew install git
これだけで完了。
ログ
mba:~ yamakadoh$ ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go) ==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1 Press enter to continue ==> /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: ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local ==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local ==> Downloading and Installing Homebrew... remote: Counting objects: 82603, done. remote: Compressing objects: 100% (38924/38924), done. remote: Total 82603 (delta 57022), reused 66088 (delta 42854) Receiving objects: 100% (82603/82603), 11.66 MiB | 804 KiB/s, done. Resolving deltas: 100% (57022/57022), done. From https://github.com/mxcl/homebrew * [new branch] master -> origin/master HEAD is now at 98017d9 smpeg: fix audit warning ==> Installation successful! You should run `brew doctor' *before* you install anything. Now type: brew help mba:~ yamakadoh$ brew install git ==> Downloading http://git-core.googlecode.com/files/git-1.7.12.tar.gz ######################################################################## 100.0% ==> make prefix=/usr/local/Cellar/git/1.7.12 CC=cc CFLAGS= LDFLAGS= install ==> make CC=cc CFLAGS= LDFLAGS= ==> make clean ==> Downloading http://git-core.googlecode.com/files/git-manpages-1.7.12.tar.gz ######################################################################## 100.0% ==> Downloading http://git-core.googlecode.com/files/git-htmldocs-1.7.12.tar.gz ######################################################################## 100.0% ==> Caveats The OS X keychain credential helper has been installed to: /usr/local/bin/git-credential-osxkeychain The 'contrib' directory has been installed to: /usr/local/share/git-core/contrib ==> Caveats Bash completion has been installed to: /usr/local/etc/bash_completion.d ==> Summary /usr/local/Cellar/git/1.7.12: 1235 files, 24M, built in 106 seconds
関連エントリー