为ssh 配置代理 不配置代理下载速度慢到令人发指的几kb/s,配置好ss代理后速度一般是几M/s。 我电脑上使用的是surge,所以在终端中输入如下: export ALL_PROXY=socks5://127.0.0.1:8889 如果是使用 ClashX,则在终端中输入如下: export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890 安装Homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 如果提示SSL问题:SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443 那就是梯子的问题,证明上面为SSH配置代理没有成功。 没有报错之后,会提示输入Mac密码,然后就会正常安装了。 安装 ffmpeg 运行命令安装 ffmpeg brew install ffmpeg 运行命令之后就是漫长的等待。 https://www.noxxxx.com/mac-%E4%B8%8B%E7%BB%88%E7%AB%AF%E8%B5%B0-ss-%E4%BB%A3%E7%90%86.html https://brew.sh/ https://www.jianshu.com/p/627b2d462151