mac_开发机初始化环境

#安装 homebrew 类似 yum
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  #安装 git

brew install git

#安装 oh my zsh

 git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

参照:http://www.jianshu.com/p/0fd8d396c8ab

原文地址:https://www.cnblogs.com/cphmvp/p/6793006.html