# Quickstart

> Install Kernuq, import a sample org, start the daemon and console, and run your first rotor over JSON-RPC — in five minutes.

## 1. Install

macOS / Linux:

```bash
curl -fsSL https://kernuq.com/install.sh | sh
```

Windows (PowerShell):

```powershell
irm https://kernuq.com/install.ps1 | iex
```

## 2. Probe

```bash
kernuq version
kernuq probe --json
```

`probe` reports the host OS, architecture, available toolchains (bash, git, ffmpeg, python3, docker…) and storage status.

## 3. Read the built-in manual

The CLI is progressively self-documenting — for humans and agents alike:

```bash
kernuq manual              # topic index (< 2 KB)
kernuq manual quickstart
kernuq schema harness      # print the formal JSON Schema
```

## 4. Dry-run and import seeds

Every write can be previewed with `--dry-run`:

```bash
kernuq validate --config kernuq.yaml --dry-run --json
kernuq import --config kernuq.yaml --db ~/.kernuq/data/kernuq.db --json
```

> Without `--config`, `validate` uses the example config embedded in the binary.

## 5. Start the daemon and console

```bash
kernuq serve --config kernuq.yaml --ui
```

Open `http://127.0.0.1:7680`. The daemon binds to loopback by default and the local owner needs no login.

## 6. Run your first rotor

```bash
curl -s http://127.0.0.1:7680/rpc \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"agent.spawn_and_run",
       "params":{"harness_uri":"harness://ops/log-analyzer",
                 "input":"Summarize 5xx errors in the last 24h with root causes"}}'
```

The result includes a session URI and the full trajectory, which you can replay — and fork from any step — in the console's Sessions view.

## Next

- [Harness rotors](/en/docs/harness/) — write your own rotor.
- [Formation topologies](/en/docs/formation/) — turn agents and people into a team.
- [MCP server](/en/docs/mcp/) — let Claude Code build it for you.
