AIRobot

AIRobot quick note


  • 首页

  • 关于

  • 标签

  • 分类

  • 归档

  • 搜索

homebrew更新源

发表于 2019-03-15 更新于 2020-07-14
本文字数: 650 阅读时长 ≈ 1 分钟

https://mirror.tuna.tsinghua.edu.cn/help/homebrew/

  • Mac上Homebrew安装可通过下面这条命令完成
1
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Homebrew 二进制预编译包的镜像
1
2
3
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles'>>   ~/.bash_profile

source ~/.bash_profile
  • Homebrew 的 formula 索引的镜像(即brew update时所更新内容)
1
2
3
4
5
6
7
8
9
cd "$(brew --repo)"

git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git

cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"

git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git

brew update
# Linux
LeetCode 88 合并两个有序数组
Python软件开发面试题
AIRobot

AIRobot

AIRobot quick note
130 日志
15 分类
23 标签
GitHub E-Mail
Creative Commons
0%
© 2023 AIRobot | 716k | 10:51