> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/13.1-sdk-and-apis/cli.md).

# CLI reference

layerlens CLI reference — commands, arguments, examples.

The `layerlens` CLI ships with the Python SDK. Install the SDK; the CLI is on your PATH.

```bash
pip install layerlens --extra-index-url https://sdk.layerlens.ai/package
export LAYERLENS_STRATIX_API_KEY="..."
layerlens --version
```

<table data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Getting started</strong></td><td>Login, set up profile.</td><td><a href="https://github.com/LayerLens/gitbook-full/blob/main/13-reference/cli/getting-started.md">Read</a></td></tr><tr><td><strong>login</strong></td><td>Authenticate.</td><td><a href="https://github.com/LayerLens/gitbook-full/blob/main/13-reference/cli/login.md">Read</a></td></tr><tr><td><strong>evaluate</strong></td><td>Create and run an evaluation.</td><td><a href="https://github.com/LayerLens/gitbook-full/blob/main/13-reference/cli/evaluate.md">Read</a></td></tr><tr><td><strong>traces</strong></td><td>Upload and browse traces.</td><td><a href="https://github.com/LayerLens/gitbook-full/blob/main/13-reference/cli/traces.md">Read</a></td></tr><tr><td><strong>trace-evaluate</strong></td><td>Run a trace evaluation.</td><td><a href="https://github.com/LayerLens/gitbook-full/blob/main/13-reference/cli/trace-evaluate.md">Read</a></td></tr><tr><td><strong>judges</strong></td><td>Create and manage judges.</td><td><a href="https://github.com/LayerLens/gitbook-full/blob/main/13-reference/cli/judges.md">Read</a></td></tr><tr><td><strong>scorers</strong></td><td>Create and manage scorers.</td><td><a href="https://github.com/LayerLens/gitbook-full/blob/main/13-reference/cli/scorers.md">Read</a></td></tr><tr><td><strong>models</strong></td><td>Browse the catalog.</td><td><a href="https://github.com/LayerLens/gitbook-full/blob/main/13-reference/cli/models.md">Read</a></td></tr><tr><td><strong>benchmarks</strong></td><td>Browse benchmarks.</td><td><a href="https://github.com/LayerLens/gitbook-full/blob/main/13-reference/cli/benchmarks.md">Read</a></td></tr><tr><td><strong>config</strong></td><td>CLI configuration.</td><td><a href="https://github.com/LayerLens/gitbook-full/blob/main/13-reference/cli/config.md">Read</a></td></tr><tr><td><strong>examples</strong></td><td>Common command sequences.</td><td><a href="https://github.com/LayerLens/gitbook-full/blob/main/13-reference/cli/examples.md">Read</a></td></tr></tbody></table>

## Global options

```bash
layerlens --help
layerlens --version
layerlens --profile production
layerlens --output json|yaml|table
```
