---
sidebar_position: 40
---

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

# `lium init`

Run first-time setup: write the API key and SSH key paths to your local config.

```bash
lium init [OPTIONS]
```

Run without flags for an interactive prompt, or pass everything at once for a non-interactive setup.

## Options

| Flag | Effect |
|------|--------|
| `--api-key KEY` | Set API key non-interactively |
| `--ssh-key PATH` | Path to your SSH private key |
| `--force` | Overwrite an existing configuration |

## Examples

```bash
lium init                                                 # Interactive
lium init --api-key abc123 --ssh-key ~/.ssh/id_ed25519
lium init --api-key abc123 --force                        # Reset config
```

## See also

- [Installation](../installation) — install the CLI first
- [`lium config`](./config) — read/write individual config values later
