侧边栏壁纸
  • 累计撰写 100 篇文章
  • 累计创建 55 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录
Mac

更换Homebrew镜像源

Malson
2022-06-24 / 0 评论 / 0 点赞 / 110 阅读 / 133 字

中科大源

  1. 替换brew.git
    git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
  2. 替换homebrew-core.git
    git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
  3. 更新brew
    brew update

清华源

  1. 替换brew.git
    git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
  2. 替换homebrew-core.git
    git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
  3. 更新brew
    brew update

恢复官方源

  1. 替换brew.git
    git remote set-url origin https://github.com/Homebrew/brew.git
  2. 替换homebrew-core.git
    git remote set-url origin https://github.com/Homebrew/homebrew-core.git
  3. 更新brew
    brew update
0
博主关闭了所有页面的评论