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

# environment list

> List environments for a project

Lists all environments for a project, showing their ID, name, project, team, source branch, MCP server URL, and creation date.

## Usage

```bash theme={null}
alpic environment list --project-id <projectId>
```

Lists all environments for the specified project.

## Extended Usage

List environments by project name:

```bash theme={null}
alpic environment list --project-name <projectName>
```

When no project identifier is provided, you will be prompted to select a project interactively:

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

## Options

| Flag | Description | Default |
| - | - | - |
| `--project-id` | The ID of the project. | — |
| `--project-name` | The name of the project. | — |
| `--non-interactive` | Disable interactive prompts. Requires `--project-id` or `--project-name`. | `false` |


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