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

# Install clabs

> Install the CorporateLabs CLI from install.corporatelabs.ai.

`clabs` is the agent you run on a host or CI runner. Installers download a
published binary — they do **not** start scanning for you.

## Install

```bash theme={null}
curl -fsSL https://install.corporatelabs.ai/install.sh | sh
clabs version
```

Default install location: `~/.local/bin/clabs`.

```bash theme={null}
# custom directory
CLABS_INSTALL_DIR=/usr/local/bin curl -fsSL https://install.corporatelabs.ai/install.sh | sh
```

## Choose a channel

| Value              | Use when                          |
| ------------------ | --------------------------------- |
| `latest` (default) | Stable tagged release             |
| `dev`              | Newest build from our main branch |
| `vX.Y.Z`           | Pin an exact release              |

```bash theme={null}
CLABS_CHANNEL=dev curl -fsSL https://install.corporatelabs.ai/install.sh | sh
CLABS_VERSION=v0.3.0 curl -fsSL https://install.corporatelabs.ai/install.sh | sh
```

## Authenticate

After install, set the access key from your console installation:

```bash theme={null}
export CLABS_ACCESS_KEY='clt_…'
```

Then run:

```bash theme={null}
clabs run -once          # single discover scan
clabs run                # continuous discover (foreground)
```

See [environment variables](/reference/environment) for the full list.

## Upgrade

Re-run the installer on the same channel, or pin a newer `CLABS_VERSION`.
