搭建 Mac 本地开发环境
重新安装 macOS
https://support.apple.com/zh-cn/102342
初始化开发环境
配置好网络代理。
需要时,在终端使用代理:
1
export http_proxy="http://localhost:6152" && export https_proxy="http://localhost:6152"
Homebrew
nvm
- auto switch node version when change pwd
pyenv (install via homebrew, add 3 lines to zshrc)
rvm
JDK 8
Oh-My-Zsh with Spaceship theme
Set up other tools
- 安装命令行小工具
1
brew install bat exa