Failed to connect to raw.githubusercontent.com port 443: Operation timed out (安装Homebrew 超时)

1.安装 Homebrew,执行下面安装命令时超时

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2.下载 brew_install.rb

链接: https://pan.baidu.com/s/1HHijowPvKKPYaMyNtPhfUw 提取码: ek4n

3.本地安装 brew_install.rb

打开终端,cd 到 brew_install.rb 文件目录下,执行 ruby brew_install.rb。若没有安装ruby环境的话,先安装 ruby。

你可能感兴趣的:(Failed to connect to raw.githubusercontent.com port 443: Operation timed out (安装Homebrew 超时))