OS X Mavericksでcommand line toolsインストール

Mavericksにしてからbrew doctorでcommand line toolsがないよっというwarningがでるようになった。

kawahiro@mac ~$ brew doctor
Warning: No developer tools installed.
You should install the Command Line Tools.
Run `xcode-select --install` to install them.

言われた通り、xcode-select --installを打つ。

kawahiro@mac ~$ xcode-select --install

以下の画面が立ち上がって、インストールボタンをクリックすると

f:id:kawahiro311:20131028141328p:plain

数分後インストール完了!

kawahiro@mac ~$ brew doctor
Your system is ready to brew.