The Evidence CLI lets you run and develop Evidence projects locally from the command line.
If you are going to use the CLI for development, you should set up the GitHub Integration.
It includes a development server for previewing your reports locally as you work, commands for running queries, viewing metadata, and validating your code.
The Evidence CLI is in alpha. Features and commands may change.
Install
curl -fsSL https://evidence.studio/install.sh | sh
Installs to /usr/local/bin (falls back to ~/.local/bin if not writable).irm https://evidence.studio/install.ps1 | iex
Installs to %LOCALAPPDATA%\Evidence\bin and adds it to your user PATH. Restart your terminal after install.
Both evidence and evd commands are available after install.
- macOS arm64 (Apple Silicon)
- macOS x64 (Intel)
- Linux x64
- Linux arm64
- Windows x64
Verify Installation
Getting Started
- Create a project in Evidence Studio and connect it to a GitHub repo.
- Clone the repo to your local machine.
- Log in to your Evidence account via the CLI:
- Start developing from inside your cloned project directory:
- Open a pull request on the repo. Evidence Studio will reply with a preview link. Merging the PR releases your changes.
Upgrade
The CLI checks for updates on startup. If a newer version is available, you’ll see a warning. If your version is below the minimum supported version, the CLI will require an upgrade before running.