-
安装Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
-
Homebrew更换国内镜像源
# 替换 brew.git 仓库地址 cd "$(brew --repo)" git remote set-url origin https://mirrors.ustc.edu.cn/brew.git # 同下面一行命令 git -C "$(brew --repo)" 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://mirrors.ustc.edu.cn/homebrew-core.git # git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git # 替换 homebrew-cask.git 仓库地址 cd "$(brew --repo)/Library/Taps/homebrew/homebrew-cask" git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git # git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git # 替换 homebrew-bottles 访问地址 vim ~/.zshrc export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles # 保存后 source ~/.zshrc
-
终端输入命令进行安装
brew install allure
-
成功
相关文章
- 11-24python-已安装PySide但无法导入:“没有名为PySide的模块”
- 11-24mac
- 11-24python-已成功安装PySide 2,但未成功安装Shiboken 2
- 11-24【小工具】提升开发效率:sourceTree for Mac 可视化 git 工具
- 11-24Git可视化工具--Sourcetree安装过程及配置SSH密钥
- 11-24解决在Mac上sourcetree反复要求输入密码的问题
- 11-24码云 Git 入门篇 ---简介、安装、使用
- 11-24『转载』Git管理工具sourcetree安装与使用
- 11-24解决在Mac上sourcetree反复要求输入密码的问题
- 11-24windows安装sourceTree