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

# Install

> Install the iii engine and set up your agentic development environment.

## Start a project

The recipe below installs the engine and starts a project. Once started you can explore the project
via [http://127.0.0.1:3113](http://127.0.0.1:3113).

Select **llm** to let the installer set up the harness for you, or select **no llm**.

llm

no llm

\# Install iii

\$
curl -fsSL [https://iii.dev/registry/install/iii/latest.sh](https://iii.dev/registry/install/iii/latest.sh) | sh

\# The installer prompts you to set up your first iii project. Press Enter.

\# Open your browser to [http://127.0.0.1:3113](http://127.0.0.1:3113)

\# The installer prompts you to set up your first iii project. Press Ctrl+C.

\# Create a project

\$
iii project init my-app && cd my-app

\# Start your project

\$

iii compose --up

\# Open your browser to [http://127.0.0.1:3113](http://127.0.0.1:3113)

\# You can also check out [iii.dev/docs/quickstart](https://iii.dev/docs/0-26-0/quickstart.md) to learn more about iii

## Installer options

The installer comes from the [iii registry](https://iii.dev/registry). It downloads the engine build
for your platform and checks it against the SHA-256 the registry recorded for that version, then
installs it.

The installer takes its options after `sh -s --`. To see them all:

```bash theme={"theme":{"light":"catppuccin-latte","dark":"dark-plus"}}
curl -fsSL https://iii.dev/registry/install/iii/latest.sh | sh -s -- --help
```

### Run the setup against an installed engine

When iii is already on the machine, in `BIN_DIR` or on your `PATH`, the installer upgrades it and
does not prompt for the setup.

`--skip-bin-download` skips the download and the install, and runs the setup against the iii that is
on the machine already. Use it to repeat the setup, or when you build the engine yourself:

```bash theme={"theme":{"light":"catppuccin-latte","dark":"dark-plus"}}
curl -fsSL https://iii.dev/registry/install/iii/latest.sh | sh -s -- --skip-bin-download
```

### Install a pre-release or an exact version

The end of the URL picks the version. `latest` is the latest stable release. A release tag picks the
latest pre-release on that channel: `rc` for release candidates, `next`, or `alpha`:

```bash theme={"theme":{"light":"catppuccin-latte","dark":"dark-plus"}}
curl -fsSL https://iii.dev/registry/install/iii/rc.sh | sh
```

To install one exact version, put the version in the URL:

```bash theme={"theme":{"light":"catppuccin-latte","dark":"dark-plus"}}
curl -fsSL https://iii.dev/registry/install/iii/0.26.0.sh | sh
```

The `--rc` and `--next` options, and a version as the last argument, still work: the installer then
fetches the registry's installer for that version and runs it.

### Install without a prompt

The installer does not prompt when no terminal is attached. A `docker build` step, a CI job, and a
plain `curl ... | sh` in a script are already non-interactive, and they do the install and then
print the setup command.

`--non-interactive` makes that behavior explicit, and keeps it when a terminal is attached: the
installer does the install, does not run the setup, and prints the setup command. Use it when a terminal is attached but you want the install
only, for example `docker run -it`, `docker compose run`, or a wrapper that gives the command a
terminal:

```bash theme={"theme":{"light":"catppuccin-latte","dark":"dark-plus"}}
curl -fsSL https://iii.dev/registry/install/iii/latest.sh | sh -s -- --non-interactive
```

A non-empty `III_NON_INTERACTIVE` does the same:

```bash theme={"theme":{"light":"catppuccin-latte","dark":"dark-plus"}}
curl -fsSL https://iii.dev/registry/install/iii/latest.sh | III_NON_INTERACTIVE=1 sh
```

### Control the install with environment variables

| Variable | Effect |
| - | - |
| `VERSION` | Engine version to install, for example `0.26.0`. |
| `BIN_DIR` | Directory for the engine binary. Defaults to `$PREFIX/bin`, or `$HOME/.local/bin`. |
| `PREFIX` | Install prefix. Defaults to `$HOME/.local`. |
| `TARGET` | Target triple to install, for example `aarch64-unknown-linux-gnu`. |
| `III_USE_GLIBC` | Any non-empty value selects the glibc build on Linux x86\_64. The default is musl. |
| `III_NON_INTERACTIVE` | Any non-empty value does the same as `--non-interactive`. |

### Install on Windows

In PowerShell (Windows PowerShell 5.1 or PowerShell 7), run:

```powershell theme={"theme":{"light":"catppuccin-latte","dark":"dark-plus"}}
irm https://iii.dev/registry/install/iii/latest.ps1 | iex
```

The Windows installer checks the archive against the SHA-256 the registry recorded, installs
`iii.exe` to `~\.local\bin`, and adds that folder to your user `Path`, so the terminal you run it in
and every terminal you open later find `iii`. On a fresh install it prompts you to set up your first
iii project, as the `sh` installer does.

The end of the URL picks the version, as above: `rc.ps1`, `next.ps1`, `alpha.ps1` or `0.26.0.ps1`.
`irm ... | iex` passes no arguments, so set the options as environment variables before you run it:

```powershell theme={"theme":{"light":"catppuccin-latte","dark":"dark-plus"}}
$env:III_NON_INTERACTIVE = '1'; irm https://iii.dev/registry/install/iii/latest.ps1 | iex
```

| Variable | Effect |
| - | - |
| `VERSION` | Engine version or release tag to install, for example `0.26.0` or `rc`. |
| `BIN_DIR` | Directory for `iii.exe`. Defaults to `$PREFIX\bin`, or `~\.local\bin`. |
| `PREFIX` | Install prefix. Defaults to `~\.local`. |
| `TARGET` | Target triple to install, for example `aarch64-pc-windows-msvc`. |
| `III_NON_INTERACTIVE` | Any non-empty value installs only, and prints the setup command. |
| `NO_MODIFY_PATH` | Any non-empty value leaves your `Path` as it is, and prints the folder to add. |

## Next Steps

> [card] [Quickstart](https://iii.dev/docs/0-26-0/quickstart.md)
>
> Follow the Quickstart and explore a live iii application.

> [card] [Use iii](./using-iii)
>
> Learn how to use iii in production.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.