在Mac上安装homebrew Jan 3rd, 2011 homebrew是为mac打造的一个软件包管理工具 首先需要安装好Xcode,其它是需要它其中的gcc等编译器。 安装方法 1 ruby -e "$(curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb)" Install Xcode. then brew install git first.