使用 brew 安装 allure 方法(记录一下)

1. 输入命令

brew install allure

2.如果提示:

error: could not lock config file .git/config: Permission denied

Error: Command failed with exit 255: git 

3. 分别输入

sudo chgrp -R admin /usr/local  提示:chgrp: /usr/local: Operation not permitted

sudo chmod -R g+w /usr/local   提示:chmod: Unable to change file mode on /usr/local: Operation not permitted

4. 重新输入 brew install allure 即可安装成功

5. allure --version 查询

posted @ 2021-09-25 13:54  测试小歘歘  阅读(434)  评论(0编辑  收藏  举报