Development
evidence init
Scaffold a new Evidence project.
Without
--warehouse, the project uses the managed Evidence Warehouse. With it, the CLI writes a connection.yaml (gitignored) so queries run directly against your own warehouse.
evidence dev
Start the local development server.
Deploy
evidence launch
Connect this project to Evidence Studio and GitHub, then deploy by pushing to your repo. Interactive by default — it walks you through installing the GitHub App and creating (or linking) the Studio project.
evidence launch recognizes GitHub.com and GitHub Enterprise Cloud (*.ghe.com) remotes over HTTPS and SSH. If the detected GHE.com host is not connected yet, the CLI opens Organization Settings to guide an Evidence admin through creating and installing the private Enterprise GitHub App. GHE.com connections require an Enterprise plan.
evidence link
Attach this repo to an existing Studio project. The project’s content becomes git-managed — the next git push overwrites it with the repo’s contents.
The repository host must match the GitHub host connected to the Evidence organization.
evidence unlink
Disconnect this repo from its Studio project. The org’s GitHub App install and the project itself are left intact.
Data
evidence query
Run a SQL query against connected data sources.
evidence tables
List available data tables.
evidence describe
Show schema for a table.
evidence schema
Show all tables with their columns.
evidence connectors
List all connectors with health status.
evidence models
List all models with refresh status.
evidence lineage
Show where connections and tables are used across projects, pages, models, and queries.
Project
evidence validate
Validate all markdown files in the current project.
evidence docs
Browse and search component documentation.
Authentication
evidence signup
Create an account and workspace. Opens Evidence in your browser; once done, run evidence login to connect the CLI.
evidence login
Authenticate with Evidence Studio using your browser.
evidence logout
Clear stored credentials.
evidence whoami
Show the currently authenticated user.
evidence orgs
List available organizations.
evidence switch
Switch to a different organization.
evidence token
Generate a token for headless/CI use. Prints an EVIDENCE_AUTH_TOKEN value you can set as an environment variable to authenticate without an interactive login. Requires an active login and a selected organization.
Utility
evidence version
Print the current CLI version.
evidence upgrade
Upgrade to the latest CLI version.
evidence help
Show help and available commands.
Self-hosting
evidence serve
Serve the project as a self-hosted site. Runs the built-in production server — no Evidence Studio account or session required.
Requires a direct connector configured in
connection.yaml — the managed query engine is not supported for self-hosting.
To serve beyond localhost, set EVIDENCE_BASIC_USER and EVIDENCE_BASIC_PASSWORD to protect the site with HTTP Basic Auth. The server refuses to start on a non-localhost --host without these set.
On a trusted private network (VPN, Tailscale, internal VPC), EVIDENCE_AUTH_DISABLED=true skips authentication entirely.
