homebrewはmac portsと競合するらしいので、先にmac portsをアンインストールする。 へんなところでつまずくと嫌なので、念のためmac portsでインストールしたものをテキストファイルで保存 #port installed アンインストール # sudo port -f uninstall installed # sudo rm -rf /opt/local/ homebrewのインストール #ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)" homebrewはgitで更新するらしいのでgitをインストール #brew install git homebrewのアップデート #brew update あとは個別に必要なものをインストール