美文网首页
brew下载慢解决命令

brew下载慢解决命令

作者: 南苑bert | 来源:发表于2020-05-25 08:51 被阅读0次
cd "$(brew --repo)"
git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git

用bash的

echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile
source ~/.bash_profile

用zsh的

echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.zshrc
source ~/.zshrc

相关文章

  • brew下载慢解决命令

    用bash的 用zsh的

  • MacOS使用

    一、brew install 巨慢 解决方法(以brew install sbt为例) 先下载后安装 下载 此时也...

  • 替换及重置Homebrew默认源

    为解决在使用 brew 的相关命令的时候网速慢的问题,解决方案,替换为清华的镜像。 替换brew.git:cd "...

  • 解决 brew 下载慢的问题

    问题:使用Homebrew安装软件的时候一直卡在Update阶段。同时发现从github.com下载文件也极度缓慢...

  • 解决brew下载慢的问题

    1.替换brew.git 2.替换homebrew-core.git 3.替换homebrew-bottles 4...

  • Mac 下ssh/sftp挂载远程文件夹

    准备工作 安装brew,就一行命令搞定,这里不多讲,可能需要科学上网才能搞定 解决brew慢的问题,使用国内镜像源...

  • Homebrew 安装与使用

    安装 终端运行 安装完成后,会自动替换镜像源,解决下载慢的问题。 使用 Reference [1] brew ...

  • 解决brew慢

    转载:https://juejin.im/post/6844904029601038344[https://jue...

  • Homebrew

    命令 问题 brew install webp 原因是googleapis被墙了解决方法:替换下载地址 修改url如下:

  • brew update 报错 "fatal: Could not

    报错 执行brew update命令时: 解决 % brew update --verbose 打开报错路径:% ...

网友评论

      本文标题:brew下载慢解决命令

      本文链接:https://www.haomeiwen.com/subject/yqyeahtx.html