oh my zsh 是一款非常牛叉的 shell,至于有多牛叉,详情自行搜索。
准备工作: 你的mac上需要装curl 或者 wget, 如果你的电脑上没有安装curl 或者 wget, 请安装后再继续。
你可以通过curl 或者 wget的命令行安装
curl
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
wget
wgethttps://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh
如果遇到 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
解决方案
打开 https://www.ipaddress.com/ 输入需要访问的域名,查到该域名 ip 地址

在本机的 host 文件中添加映射即可解决

网友评论