切換到國內源 # 替換brew.git: $ cd "$(brew --repo)" # 中國科大: $ git remote set-url origin https://mirrors.ustc.edu.cn/brew ...
中科大源 替換brew.git: cd brew repo git remote set url origin https: mirrors.ustc.edu.cn brew.git 替換homebrew core.git: cd brew repo Library Taps homebrew homebrew core git remote set url origin https: mirro ...
2020-09-09 10:28 0 1845 推薦指數:
切換到國內源 # 替換brew.git: $ cd "$(brew --repo)" # 中國科大: $ git remote set-url origin https://mirrors.ustc.edu.cn/brew ...
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 ...