Mac 安装brew:brew
安装:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
出错:
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
解决:
- 第一步:把这个网页 传送门 保存名为brew_install.rb的文件,保存的位置你随便,只要自己能找到。
顺便贴出现有的:
#!/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 "$(curl -fsSL https://raw.githu