[[Mac全般]]

*新しい手順(2015年05月13日更新) [#m27f8554]
***Xcodeのインストール [#o7d144da]
 $ xcode-select --install
 
***brewのインストール [#kaea4550]
 $ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
 Whoops, the Homebrew installer has moved! Please instead run:
 
 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
 
 Also, please ask wherever you got this link from to update it to the above.
 Thanks!
 
 エラーが表示される。
 
 $ 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
 Password:
 ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local
 ==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local
 ==> /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: 3558, done.
 remote: Compressing objects: 100% (3407/3407), done.
 remote: Total 3558 (delta 35), reused 1473 (delta 19), pack-reused 0
 Receiving objects: 100% (3558/3558), 2.70 MiB | 2.47 MiB/s, done.
 Resolving deltas: 100% (35/35), done.
 From https://github.com/Homebrew/homebrew
  * [new branch]      master     -> origin/master
 HEAD is now at 0296162 shadowsocks-libev: update 2.2.0 bottle.
 ==> Installation successful!
 ==> Next steps
 Run `brew help` to get started

~
*古い手順 [#b89206a4]
 $ vim ~/.bash_profile
 export PATH=/usr/local/bin:$PATH
 $ sudo mkdir /usr/local/bin/
 $ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
 $ source ~/.bash_profile
 $ brew -v

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS