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

# CLI quickstart

> Install the standalone runtime and run a headless TurenOS session

The standalone command remains `forge` for compatibility.

## 1. Download a runtime

Open the [latest release](https://github.com/turenlabs/turenos/releases/latest) and download the `forge-*` archive matching your operating system, architecture, libc, and CPU baseline.

Extract it and place `forge` or `forge.exe` on your `PATH`.

```bash theme={null}
forge --version
```

## 2. Connect a provider

```bash theme={null}
forge providers list
forge providers login
```

For Claude Code subscription access, run `claude auth login` first. Provider commands display the current interactive authentication options.

## 3. Run a session

```bash theme={null}
forge run --dir /path/to/project "Review this repository and report the highest-risk issue"
```

Use `--model provider/model`, `--agent`, `--variant`, `--file`, or `--format json` as needed.

## 4. Continue or attach

```bash theme={null}
forge run --continue "Implement and verify the fix"
forge run --session <session-id> "Continue this session"
forge run --attach http://127.0.0.1:4096 --dir /path/to/project "Inspect the current state"
```

See [CLI reference](/reference/cli) and [Server and HTTP API](/reference/server-api).
