美文网首页
macOS 系统 安装 oh my zsh

macOS 系统 安装 oh my zsh

作者: KevinDengSir | 来源:发表于2021-01-26 18:16 被阅读0次

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 文件中添加映射即可解决

相关文章

网友评论

      本文标题:macOS 系统 安装 oh my zsh

      本文链接:https://www.haomeiwen.com/subject/pfwazktx.html