目前网上大多数都是这个方法,但是会出现无法连接的报错,raw.githubusercontent.com地址可能已经被污染,无法访问到。
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)";
打开链接发现提示已经更换了下载路径,尝试一下仍然报443
#!/usr/bin/ruby
STDERR.print <<EOS
Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in
Bash. Please migrate to the following command:
/bin/bash -c “ ( c u r l − f s S L h t t p s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / H o m e b r e w / i n