How to Install bencher CLI
Install CLI with Script
Linux, Mac, & Unix
For Linux, Mac, and other Unix-like systems run the following in your terminal:
Windows
For Windows systems run the following in a PowerShell terminal:
🐰 If you get an error that says
running scripts is disabled on this system
:
Open Powershell
withRun as Administrator
- Run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
- Enter:
Y
- Rerun this script
GitHub Actions
Install the Bencher CLI using the GitHub Action. See how to use GitHub Actions for more details.
There is an optional version
argument to specify an exact version of the Bencher CLI to use.
Otherwise, it will default to using the latest CLI version.
Specify an exact version if and only if using Bencher Self-Hosted.
Do not specify an exact version if using Bencher Cloud as there are still occasional breaking changes.
From Source
For all other environments, you can try to install from source. This requires you to install Rust.
Pre-Built Binaries
See the latest release page for a full list.
Packages
See the latest release page for a full list.
🐰 Congrats! You have installed
bencher
CLI! 🎉