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 查詢