如何安装 bencher CLI
Debian
Bencher为Debian和Debian为基础的分发版本如Ubuntu提供了一个方便的deb
文件来安装。
wget https://github.com/bencherdev/bencher/releases/download/v0.3.18/bencher_0.3.18_amd64.deb
sudo dpkg -i bencher_0.3.18_amd64.deb
GitHub Actions
使用GitHub Action 安装Bencher CLI。 查看如何使用GitHub Actions了解更多详情。
- uses: bencherdev/bencher@main
有一个可选的version
参数来指定一个确切的Bencher CLI的版本来使用。
否则,它将默认使用最新的CLI版本。
- uses: bencherdev/bencher@main
with:
0.3.18
如果使用Bencher Self-Hosted,请指定一个确切的版本。 如果使用Bencher Cloud,请__不要__指定一个确切的版本,因为仍然会有偶尔的破坏性的更改。
从源安装
对于所有其它环境,建议从源安装。
cargo install --git https://github.com/bencherdev/bencher --tag v0.3.18 --locked bencher_cli
其它Linux发行版
如果你知道你在做什么,也有独立的Linux CLI二进制文件供下载。
wget https://github.com/bencherdev/bencher/releases/download/v0.3.18/bencher
🐰 恭喜!您已安装了
bencher
CLI! 🎉
继续:Bencher快速入门 ➡
🤖 该文档由 OpenAI GPT-4 自动生成。 它可能不准确并且可能包含错误。 如果您发现任何错误,请在 GitHub 上提出问题.