MacOS系統(tǒng)使用Homebrew官方地址時(shí)领虹,報(bào)錯(cuò):
```
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
報(bào)錯(cuò)如下
```
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
```
解決辦法:使用國(guó)內(nèi)源
```
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
```
最終運(yùn)行結(jié)果如下
![截屏2021-04-13 上午11.12.39.png](https://upload-images.jianshu.io/upload_images/638678-d8b91478ce937f97.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)