Install Homebrew prompt: Failed to connect to raw.githubusercontent.com port 443

Reference: https://www.cnblogs.com/jacktu/p/12868222.html

Homebrew is a manager for macOS (or Linux) missing packages

Normally executed on the command line:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

However, due to the domestic network firewall problem, GitHubthe raw.githubusercontent.comdomain name resolution is polluted and cannot be downloaded.

Solution

Use the Homebrew domestic source installation script:

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

Also refer to other sources: https://gitee.com/cunkai/HomebrewCN

おすすめ

転載: blog.csdn.net/weixin_35773751/article/details/126216713