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

# Installation

> Every way to install Crew. Desktop app, one-line wheel, source build, Docker. Runs on macOS, Linux, and Windows.

Crew ships as a Python package that bundles the React dashboard. There are four ways to install it; pick whichever fits how you'll run it. All builds are driven by plain `pip` + `npm`/Vite + `pytest`. No proprietary tooling.

## Prerequisites

| Requirement | Needed for | Notes |
|-------------|------------|-------|
| Python 3.12+ | Backend runtime | 3.12 is the supported floor. The one-line installer provisions a pinned CPython 3.12 by default. |
| Node.js 22+ | Building the dashboard from source | 24 LTS recommended. Not needed for the prebuilt wheel, desktop app, or Docker image |
| Kiro CLI | Talking to the LLM | Included with the desktop app. Install it on the Gateway host for wheel, source, and Docker setups. |

Crew drives an LLM through Kiro CLI over the [Agent Client Protocol](https://github.com/zed-industries/agent-client-protocol). It is the default provider path (`agent.provider = acp`). `kirocrew doctor` reports which binary Crew selected and whether it is signed in.

### Bundled Kiro CLI in the desktop app

The macOS, Linux, and Windows desktop packages include a tested Kiro CLI copy. A fresh desktop install can finish device-code sign-in and start a chat without another `kiro-cli` on `PATH`. The setup screen shows the sign-in command for the selected copy.

Crew checks an absolute `KIROCREW_KIRO_BIN` operator override first. Without that override, the desktop app uses its bundled copy before system and `PATH` installs. Wheel, source, Docker, and remote Gateway installs still need Kiro CLI on the Gateway host.

### Update an outdated Kiro CLI

If the Gateway detects a Kiro CLI without the required `acp` command, setup stops at **Kiro CLI update needed**. Select **Update Kiro CLI** to run `kiro-cli update` on the Gateway host, then retry the check.

**ℹ️ Info:** Kiro CLI is reached through its published relay. Kiro Crew no longer reads Kiro CLI's internal bundle layout or creates access tokens itself. The two bundle-path environment overrides from earlier releases are removed.

Semantic memory needs no setup. Embeddings run in-process and the Gateway downloads its embedding model (~610 MB) in the background on first start, verifies it, and stores it under `~/.kiro/crew/models`. Until the model lands, memory search falls back to keyword matching and picks up embeddings automatically without a restart. Set `KIROCREW_EMBED_MODEL_URL` to point at a mirror for airgapped installs.

## Choose an installer

    Desktop app
    One-line wheel
    From source
    Docker

[Download Kiro Crew](https://kiro.dev/downloads) for macOS (signed `.dmg`), Windows (signed installer), or Linux (`.deb`, `.rpm`, or `.AppImage`). The app starts a bundled Gateway when no local Gateway is already running, and agent sessions and ACP processes then run on demand on the same machine. It can connect to a remote Gateway over an SSH tunnel instead.

The Windows installer is signed and updates itself in the background on the stable channel, alongside macOS and Linux.

On Linux, the `.deb` and `.rpm` packages install to a fixed path, register a desktop entry, and update in place per format. The Linux desktop app needs glibc 2.34 or newer, which excludes older hosts such as Ubuntu 20.04, Debian 11, and Amazon Linux 2. On an older host, install the one-line wheel instead (see the next tab) and open the dashboard in your browser.

Linux ships native builds for both **x86_64 and ARM64 (aarch64)**, published with an architecture check so you don't install the build for the wrong architecture.

You can also build the app yourself with `make desktop`.

The fastest path — installs a prebuilt, SHA-256-verified wheel from the release CDN.

```bash analyticsPath="/-/download/crew/linux-cli"
# Stable channel (the default)
curl -fsSL https://download.crew.kiro.dev/cli.sh | sh

# Or track a faster channel: insider or nightly
curl -fsSL https://download.crew.kiro.dev/cli.sh | sh -s -- --channel insider

# Pin an exact version
curl -fsSL https://download.crew.kiro.dev/cli.sh | sh -s -- --version 0.1.0
```

The installer resolves the channel feed, verifies the wheel's SHA-256 against the published manifest, installs through `pipx` when available or a managed venv at `~/.kiro/crew-venv` (override with `KIROCREW_VENV`), and records the channel in `~/.kiro/crew/channel`. The channels are `stable`, `insider`, and `nightly`, and `KIROCREW_CHANNEL` sets the default.

The installer provisions a SHA-256-pinned CPython 3.12 in `~/.kiro/crew-python` by default. Pass `--system-python` only when you deliberately want to use a system Python 3.12 or newer. The installer records that choice for later updates; use `--managed-python` to switch back to the managed interpreter.

You can also install one exact wheel directly with its published SHA-256:

```bash
pip install "https://download.crew.kiro.dev/cli/nightly/0.1.0.dev20260718/kirocrew-0.1.0.dev20260718-py3-none-any.whl#sha256=2109dd186da999a1f135b4d6da2b36110d6a943e0af229ec259c25f72b73e570"
```

For contributors or when you want the latest code. Requires Python 3.12+, Node.js 22+, and npm.

```bash
git clone https://github.com/kirodotdev/KiroCrew
cd KiroCrew
make build
source .venv/bin/activate
```

`make build` runs two steps: builds the frontend (npm/Vite → `website/dist` → `src/kiro_crew/static/dist`) and installs the backend into a local `.venv`. Both `kirocrew` and `kirocrew-browse` are installed onto your `PATH`.

The gateway ships as a multi-arch image on GHCR — the recommended way to run Crew 24/7 on a server or NAS.

```bash
docker run -d --name kirocrew \
  -p 127.0.0.1:5476:5476 \
  -v kirocrew-home:/home/kirocrew \
  ghcr.io/kirodotdev/kirocrew:stable
```

First run needs two one-time steps:

```bash
docker exec -it kirocrew kiro-cli login          # sign in the agent runtime
docker exec kirocrew kirocrew token --ttl 2h     # mint a dashboard login link
```

Open the printed link, substituting the host you reach the container on. Available tags: `stable`, `insider`, `nightly`, plus pinned versions like `0.1.0`. Version tags are immutable — pin one for reproducible deployments. See the Docker section of [Running 24/7](https://kiro.dev/docs/crew/running-24-7.md) for the full container security model.

## Windows

Crew supports Windows natively. The signed installer is the simplest path; a source checkout can use CPython 3.12, a virtual environment, and `pip install -e . tzdata`.

```powershell
py -3.12 -m venv .venv
.venv\Scripts\activate
pip install -e . tzdata
python -m kiro_crew gateway
```

The Windows Gateway cold start is noticeably faster in 0.7. Computer Use works through UI Automation, and isolated pods run through Task Scheduler when the current user can create a scheduled task. See the [CLI reference](https://kiro.dev/docs/crew/interfaces/cli-reference.md#isolated-pods) for pod commands; `pod api` is the only pod verb unavailable on Windows because its private request channel depends on a Unix-domain socket. Use `pod token` and the printed URL with your own HTTP client instead.

The signed installer updates in place and relaunches the new build. The interactive web terminal and sign-in PTY use their platform-specific implementation or report a clear unsupported state rather than failing silently.

## Updating Crew

### Managed installs

Desktop and managed installations surface updates in **Settings → About**, the update dialog, and What's New. When host approval is required, each surface shows the same command and the time remaining in the approval window.

### Source checkouts

The Gateway checks for source updates at startup and every twelve hours. Automatic apply first pauses new turn admission, then waits for active turns, scheduled runs, subagents, Task Runner steps, and workflows to become idle. It applies only after that work settles; an active workload defers the update rather than being cancelled.

Before moving the checkout, Crew verifies that the target revision supports the Python interpreter in the current virtual environment. A mismatch is refused with the environment and interpreter path named — a Python below the 3.12 floor is rejected outright. A dirty or diverged checkout is also refused rather than reset.

Run an update manually when needed:

```bash
kirocrew update
```

For wheel and `cli.sh` installs, the updater installs into a fresh, signature-verified tree and switches atomically. Docker images remain immutable; pull a newer tag and recreate the container as described in [Running 24/7](https://kiro.dev/docs/crew/running-24-7.md#state-and-upgrades).

## Check stored configuration defaults

When Crew changes a default value between releases, your stored config may still hold the older default. Run `kirocrew config defaults` to list stored values that still hold superseded defaults. Use `--adopt` to take the current defaults or `--keep` to record the stored values as intentional.

This applies after upgrading, particularly if the voice `stt_model` or sandbox settings were set by an earlier version.

## Configure and verify

For the one-line wheel, source build, and Docker installs, set up and verify after installing:

```bash
kirocrew setup            # interactive wizard: data dir, agent, credentials
kirocrew doctor           # verify everything is wired up
kirocrew gateway          # start the server → http://localhost:5476
```

`kirocrew doctor` reports the status of the `kiro-cli` binary, its authentication, Ollama/embeddings, Slack tokens, config validity, and MCP servers.

**ℹ️ Info:** The desktop app handles this automatically — it starts a bundled Gateway on launch and guides kiro-cli installation and sign-in from the app itself. These steps are only needed for the CLI-based install paths.

## Data home

All persistent state lives under `~/.kiro/crew/` (override with `KIROCREW_HOME`):

```
~/.kiro/crew/
├── config.json          # user configuration
├── .env                 # Slack tokens, owner ID, other credentials
├── workspace/
│   ├── memory/          # preferences.md, projects.md, history/
│   ├── lessons.jsonl    # learned corrections
│   └── knowledge/       # ingested documents (FTS5 + vectors)
├── conversations/       # JSONL session logs
├── crons.json           # scheduled jobs
├── audit.log            # bash command audit trail
└── agents/              # generated kiro-cli agent configs
```

## Environment variables

| Variable | Default | Purpose |
|----------|---------|---------|
| `KIROCREW_HOME` | `~/.kiro/crew` | Data directory (config, credentials, databases) |
| `KIROCREW_PORT` | `5476` | Port the gateway binds to |
| `KIROCREW_EMBED_MODEL_URL` | (CDN) | Override the embedding-model download URL (for mirrors) |

Both `KIROCREW_HOME` and `KIROCREW_PORT` are validated at CLI entry, not stored as config keys. Pass `--port` on the CLI to override the env var per-invocation.

## Optional extras

Install with `pip install "kirocrew[<extra>]"`:

| Extra | Adds |
|-------|------|
| `voice` | `boto3`, `amazon-transcribe` for cloud speech-to-text |
| `aws` | `boto3` for AWS integrations |

Piper TTS is the default text-to-speech provider and runs locally — no extra install needed.
