解决国内使用brew更新软件时报错SSL_connect: SSL_ERROR_SYSCALL

606 阅读1分钟

解决国内使用brew更新软件时报错: fatal: unable to access 'github.com/Homebrew/ho…': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

vim ~/.zshrc

export HOMEBREW_BREW_GIT_REMOTE=https://mirrors.ustc.edu.cn/brew.git
export HOMEBREW_CORE_GIT_REMOTE=https://mirrors.ustc.edu.cn/homebrew-core.git
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles/

source .zshrc