首页 > 系统服务 > 详细

MAC OS系统替换homebrew使用阿里云的镜像源

时间:2019-09-30 09:07:11      阅读:141      评论:0      收藏:0      [点我收藏+]

MAC OS系统替换homebrew使用阿里云的镜像源

MAC OS系统替换homebrew使用阿里云的镜像源

  1.  
    # 替换brew.git:
  2.  
    cd "$(brew --repo)"
  3.  
    git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git
  4.  
    # 替换homebrew-core.git:
  5.  
    cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
  6.  
    git remote set-url origin https://mirrors.aliyun.com/homebrew/homebrew-core.git
  7.  
    # 应用生效
  8.  
    brew update
 

MAC OS系统替换homebrew使用阿里云的镜像源

原文:https://www.cnblogs.com/mouseleo/p/11610638.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!