中科大源 # 替换brew.git: cd "$(brew --repo)" git remote set-url origin https://mirrors.ustc.edu.cn/brew.git # 替换homebrew-core.git: cd "$(brew --repo ...
切换到国内源 替换brew.git: cd brew repo 中国科大: git remote set url origin https: mirrors.ustc.edu.cn brew.git 清华大学: git remote set url origin https: mirrors.tuna.tsinghua.edu.cn git homebrew brew.git 替换homebre ...
2019-07-17 15:53 0 816 推荐指数:
中科大源 # 替换brew.git: cd "$(brew --repo)" git remote set-url origin https://mirrors.ustc.edu.cn/brew.git # 替换homebrew-core.git: cd "$(brew --repo ...
1、安装 现有的脚本 /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 选中科院的 2、切换源 ...
切换到国内源 切换到官方源 ...
# 查看 brew.git 当前源 $ cd "$(brew --repo)" && git remote -v origin https://github.com/Homebrew/brew.git (fetch) origin https://github.com ...
echo "deb http://mirrors.aliyun.com/debian/ buster main non-free contrib" > /etc/apt/sources.list ...
1.查看原本的镜像地址 npm get registry > https://registry.npmjs.org/ 设成淘宝的 npm config set registry ...
第一步,先安装 brew Brew 是 Mac 下面的包管理工具,通过 Github 托管适合 Mac 的编译配置以及 Patch,可以方便的安装开发工具。 Mac 自带ruby 所以安装起来很方便,同时它也会自动把git也给你装上。官方网站: http://brew.sh 在mac下 ...
1、备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2、下载新的CentOS-Ba ...