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

# astro deployment list

<Info>The behavior and format of this command are the same for both Astro and Astro Private Cloud.</Info>

List all Deployments within your current Workspace.

## Usage

```sh wrap theme={null}
astro deployment list
```

## Options

| Option           | Description                                                                                          | Possible Values                |
| ---------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------ |
| `-a`,`--all`     | Show Deployments across all Workspaces that you have access to.                                      | None                           |
| `--json`         | Output the response as JSON. Shorthand for `--output json`. Mutually exclusive with `-o`/`--output`. | None                           |
| `-o`,`--output`  | Format the output. The default is `table`.                                                           | `table`, `json`, or `template` |
| `--template`     | Format the output using a Go template. Use with `--output template`.                                 | Any valid Go template string   |
| `--workspace-id` | Specify a Workspace to list Deployments outside of your current Workspace                            | Any valid Workspace ID         |

## Examples

```sh wrap theme={null}
$ astro deployment list --all
# Shows Deployments from all Workspaces that you're authenticated to
```

## Output

| Output               | Description                                                                   | Data Type                                  |
| -------------------- | ----------------------------------------------------------------------------- | ------------------------------------------ |
| `NAME`               | The name of the Deployment.                                                   | String                                     |
| `NAMESPACE`          | The Deployment's Kubernetes namespace.                                        | String                                     |
| `CLUSTER`            | The name of the Astro cluster where the Deployment runs.                      | String                                     |
| `DEPLOYMENT ID`      | The Deployment ID                                                             | String                                     |
| `RUNTIME VERSION`    | The Deployment's Astro Runtime version and its corresponding Airflow version. | String. (`X.X.X (based on Airflow X.X.X)`) |
| `DAG DEPLOY ENABLED` | Whether the Deployment supports dag deploys.                                  | Boolean                                    |

## Related commands

* [`astro login`](/docs/cli/v1.42/astro-login)
* [`astro deploy`](/docs/cli/v1.42/astro-deploy)
