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

# environment-variable list

> List all environment variables for an Alpic environment

Lists all environment variables for an Alpic environment. Secret variable values are displayed as `<secret>`.

## Usage

```bash theme={null}
alpic environment-variable list
```

Lists all environment variables for the current linked environment.

## Extended Usage

**List variables for a specific environment by ID:**

```bash theme={null}
alpic environment-variable list --environment-id <environmentId>
```

## Options

| Flag               | Description                                                              |
| ------------------ | ------------------------------------------------------------------------ |
| `--environment-id` | The ID of the environment (optional — read from local config if omitted) |

<Tip>
  When running from a directory linked to an Alpic project (via `alpic deploy`), `--environment-id` is optional — the
  CLI reads it from the local `.alpic` config file.
</Tip>
