# dflow environments:list

> List environments in the current project.

Web page: /docs/cli/project/environments-list/

This lists the environments in the current project. An empty list still prints the heading.

```bash
dflow environments:list
```

## Flags

This command adds no flags of its own. `--output`, `--api`, and `--context` still apply.

## What you see

The terminal prints heading `NAME   STATUS   ID`, sorted by name. An empty list prints the heading only. On a terminal the heading is bold, `active` is green, `deleting` is yellow, and the id is dim. A pipe, or `NO_COLOR`, prints plain text. Org and project required. Exit 0: including empty.

## When it fails

Exit 1: missing context. Exit 2: auth. Exit 3: not found. Exit 10: unreachable.
