homebrew换源

1 $ cd "$(brew --repo)"
2 $ git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
3 $ cd ./Library/Taps/homebrew/homebrew-core
4 $ git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
5 $ cd ../homebrew-cask
6 $ git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git

 

posted @ 2022-07-06 16:33  public_tsing  阅读(64)  评论(0编辑  收藏  举报