CEBBCAT
V2EX  ›  Homebrew

[Homebrew]分享一下昨天刚知道的中科大源,顺便吐槽一下官方连个 mirror 列表都没得,不知海岸这边的疾苦吗?😭

  •  
  •   CEBBCAT · Mar 12, 2019 · 5572 views
    This topic created in 2804 days ago, the information mentioned may be changed or developed.

    简而言之,快使用中科大全家桶!!!

    # Homebrew 源代码仓库替换为 USTC 镜像
    cd "$(brew --repo)"
    git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
    
    # Homebrew Bottles (二进制)源[针对 bash 用户的,zsh 同理]
    echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile
    source ~/.bash_profile
    
    # Homebrew Cask (界面程序)源替换为 USTC 镜像[但程序还是从开发者各自的地址下]
    cd "$(brew --repo)"/Library/Taps/homebrew/homebrew-cask
    git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git
    

    昨天发现了之后先放在博客上了,今天贴过来

    6 replies  •  2023-01-23 21:50:33 +08:00
    josephpei
    josephpei
    Mar 12, 2019❤️2
    1
    agagega
    agagega
    Mar 12, 2019 via iPhone
    2
    humanfans
    humanfans
    Feb 21, 2020 via iPhone
    3
    @josephpei mark 阿里云
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1075 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 23:21 · PVG 07:21 · LAX 15:21 · JFK 18:21
    ♥ Do have faith in what you're doing.