해결의 사제 맥 업데이트 속도가 느린

참조 : 맥 OS가 문제 브루 업데이트에게 해결 X를 느린

만났을 때 업데이트를 매우 쉽게 사용할 수 있지만 맥에서 명령을 양조,하지만 천천히, 한 가지 아주 형편이다.

가장 쉬운 솔루션은 국내 소스를 교체하는 것입니다.

다음과 같이 여기에서 우리는, USTC 소스를 (물론 다른 많은 소스, 자체 검색가) 사용

  1. brew.git 교체
cd "$(brew --repo)"
git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
  1. 또한 사제-core.git와 사제 - cask.git
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-cask"
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git
  1. 업데이트를 수행하려면
brew update

칭화 대학 출처 :

https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git

USTC 출처 :

https://mirrors.ustc.edu.cn/brew.git
https://mirrors.ustc.edu.cn/homebrew-core.git
https://mirrors.ustc.edu.cn/homebrew-cask.git
게시 된 446 개 원래 기사 · 원 찬양 67 · 전망 240 000 +

추천

출처blog.csdn.net/hongxue8888/article/details/105175933