# dflow volumes:list

> List persistent volumes in the current environment, optionally for one application.

Web page: /docs/cli/data/volumes-list/

This lists disks in the current environment. Pass `--app` to limit the list to one application. An empty list prints `No volumes.`

```bash
dflow volumes:list
dflow volumes:list --app APP
```

## Flags

`--app` is optional. Without it, the command lists every volume in the current environment, mounted or not. With it, the list is the volumes that application mounts. Globals only.

## What you see

Text prints one block per volume with `name`, `application_id`, `size_gi`, `storage_class`, `mount_path`, `status`, and `id`. A volume no application mounts shows `-` for `application_id` and `mount_path`. An empty list prints `No volumes.` JSON prints `{"volumes":[...]}`.

## When it fails

Exit 2 without a bearer token. Exit 3 when `--app` names an unknown application. Exit 10 when the API is unreachable.
