Mac mini M4 搭建开发情况
安装Xcode安装HomeBrew
curl: (7) Failed to connect to raw.githubusercontent.com port 443 after 9 ms: Couldn’t connect to server
使用国内镜像源
实行:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
实行
source /Users/ericyoung/.zprofile 生效
brew config 检察配置
https://i-blog.csdnimg.cn/direct/e5996638980e4bd48d182f99c2407ae0.png#pic_center
安装oh-my-zsh
curl: (7) Failed to connect to raw.githubusercontent.com port 443 after 9 ms: Couldn’t connect to server
解决:参考https://www.cnblogs.com/chencarl/p/16824387.html
(1)先安装wget:brew wget
(2)国内镜像安装:
sh -c "$(wget -O- https://gitee.com/pocmon/ohmyzsh/raw/master/tools/install.sh)"
大概
sh -c "$(curl -fsSL https://gitee.com/pocmon/ohmyzsh/raw/master/tools/install.sh)"
配置主题:
```bash
# 编辑配置文件
vim ~/.zshrc
# 找到 ZSH_THEME 字段
ZSH_THEME="robbyrussell"
# 将 robbyrussell 改为 ys 即可
ZSH_THEME="ys"
# 使配置文件生效
source ~/.zshrc
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]