> ## Documentation Index
> Fetch the complete documentation index at: https://docs.swizzlm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI Reference

The CLI exposes a couple of commands that can be used to configure the application. It can be accessed by running:

```bash theme={"theme":"github-dark"}
swizz [OPTIONS]
```

| Flag | Description | Default |
| - | - | - |
| `--version` | Show the installed version and exit | — |
| `--api-key TEXT` | OpenRouter API key (also read from `OPENROUTER_API_KEY` env var) | `None` |
| `--model TEXT` | Model to use at startup (e.g. `openai/gpt-4o`, `ollama/llama3`) | `openai/gpt-4o` |
| `--dev` | Enable development mode with Textual debug logging to `textual.log` | `False` |

**Examples:**

```bash theme={"theme":"github-dark"}
# Start with a specific model
swizz --model anthropic/claude-3.5-sonnet

# Pass your OpenRouter API key directly
swizz --api-key sk-or-...

# Start in dev mode for troubleshooting
swizz --dev
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.