> ## 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.

# Environment variables

> Configuration knobs for clabs install and sensors.

Prefer the console **Install** / **Intercept** recipes when possible. Use these variables when scripting install or CI.

## Installer

| Variable            | Purpose                                                    |
| ------------------- | ---------------------------------------------------------- |
| `CLABS_INSTALL_DIR` | Directory for the `clabs` binary (default `~/.local/bin`)  |
| `CLABS_CHANNEL`     | Release channel: `latest` (default), `dev`, or leave unset |
| `CLABS_VERSION`     | Pin an exact release (for example `v0.3.0`)                |

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

## Auth and identity

| Variable           | Purpose                                                                    |
| ------------------ | -------------------------------------------------------------------------- |
| `CLABS_ACCESS_KEY` | Access key from a console installation (required to send events)           |
| `CLABS_HOST_ID`    | Optional host label (useful in CI, for example `gha-${{ github.run_id }}`) |
| `CLABS_ASSET_ID`   | Optional asset label stamped on events (filterable in the console)         |

CLI equivalent for asset: `-asset-id` on sensor commands that support it.

## systemd

User units typically load env from `~/.config/clabs/env`. System units use `/etc/clabs/env`. Put `CLABS_ACCESS_KEY=…` there (mode `600`). See [Linux systemd](/guides/linux-systemd).

## Related

* [Install `clabs`](/guides/install-clabs)
* [GitHub Actions](/guides/github-actions)
* [Troubleshooting](/reference/troubleshooting)
