1. 安装 homebrew
/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
brew 镜像安装脚本(亲测最快速最有效)
/usr/bin/ruby -e "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)"
参考博客
brew install telnet
安装完成后,测试一下