Mac上安装nc

 命令行输入 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

 

brew install nc 

这个error让人不踏实,实际上nc已经安装完了。。。

如果有问题,更新brew镜像源

cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"

git remote set-url origin git://mirrors.ustc.edu.cn/homebrew-core.git

echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile

source ~/.bash_profile

brew update

 

posted on 2018-07-29 14:10  糖炒栗子踩坑记  阅读(4606)  评论(0编辑  收藏  举报

导航