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

# Distribution and Release

> Build, bundle, and ship Autopilot Desktop.

## Prerequisites

* Rust toolchain (`rustup`, `cargo`)
* macOS: Xcode Command Line Tools (`xcode-select --install`)
* Linux: X11/Wayland + Vulkan dev headers (install your distro’s wgpu/winit deps)

## Build (Release)

From the repo root:

```bash theme={null}
cargo build -p autopilot-desktop --release
```

The binary is written to:

```
target/release/autopilot-desktop
```

## Bundling

Native installers (DMG/MSI) are not wired yet for the WGPUI desktop app. For now,
ship the release binary directly or wrap it with your preferred packaging tooling.

## PATH Note

GUI apps on macOS/Linux do not inherit shell `$PATH`. If the app relies on
external binaries, set PATH at runtime (e.g., via `fix-path-env-rs`).
