Mac下安裝brew

Skilllllll發表於2020-11-16

現在國內安裝brew都會出現一些問題,連線不上
Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in

Bash. Please migrate to the following command:
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

不過看到一個大佬放上一條命令,直接解決了這一系列問題,可以下載。很感謝這位大佬,不多說直接上命令:

自動指令碼(全部國內地址)(在Mac os終端中複製貼上回車下面這句話)

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

感謝大佬!!!親測,非常快速!!!!!!!
相關連結https://www.cnblogs.com/liyihua/p/12753163.html

相關文章