Mac Development Env Setup
Install HomeBrew
1 | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
Install some software
1 | curl -L https://get.rvm.io | bash -s stable |
Install iTerm2
安装后快捷键 command + d
新增一个窗口。基于当前窗口路径打开新的窗口,一个配置记得修改 iTerm2 => Preferences => Profiles => Working Directory
选中☑️ Reuse previous session's directory
thems: https://github.com/mbadolato/iTerm2-Color-Schemes
Install [oh my zsh](https://ohmyz.sh/#install)
1 | sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
thems: https://github.com/ohmyzsh/ohmyzsh/wiki/themes
1 | vim ~/.zshrc |
plugins:
1 | # 插件安装 |
1 | # Would you like to use another custom folder than $ZSH/custom? |
Q&A
brew doctor
1 | Warning: Unbrewed header files were found in /usr/local/include. |
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment