Mac装机配置

1. 显示隐藏文件

$defaults write com.apple.finder AppleShowAllFiles YES

2. MBP选择集显或独显

gfxCardStatus

https://gfx.io/

3. 安装xcode命令行工具

$ xcode-select --install

4. 安装Homebrew

$ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

5. brew安装git、svn

$brew install git

$brew install subversion --universal --with-java


安装指定版本的svn

$brew tap homebrew/versions

$brew install subversion16


6. 优先使用brew的git和svn

vi ~/.bash_profile

export PATH=/usr/local/Cellar/git/2.2.2/bin:/usr/local/Cellar/subversion/1.8.11/bin:$PATH


你可能感兴趣的:(Mac装机配置)