mac Homebrew安装

2021-12-03  本文已影响0人  李树

下载

/usr/bin/ruby -e "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)"

替换brew git 

git -C "$(brew --repo)" remote set-url origin https://mirrors.ustc.edu.cn/brew.git

替换homebrew-core.git:

git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git

上一篇下一篇

猜你喜欢

热点阅读