一、iterm2
官网:https://www.iterm2.com
下载主题:https://github.com/mbadolato/iTerm2-Color-Schemes
二、安装oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
三、安装PowerLine
官网:https://powerline.readthedocs.io/en/latest/installation.html
pip install powerline-status --user
如果没有安装pip
sudo easy_install pip
四、安装PowerFonts
# git clone
git clone https://github.com/powerline/fonts.git --depth=1
# cd to folder
cd fonts
# run install shell
./install.sh
五、安装oh-my-zsh主题
地址:https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
# 1. 编辑配置文件
vi ~/.zshrc
# 2.修改Themes,我用的bira
# 3.重新载入配置文件
source ~/.zshrc
六、安装Home brew
官网:https://brew.sh/index_zh-cn.html
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
这个时候可能在安装的时候,一直装不上Xcode Command Line Tools
可选方法:
- 运行
xcode-select --install
然后点击安装 - 登录https://developer.apple.com/download/more/ 然后下载
dmg
安装
网友评论