---
url: /reference/cli/variables-list.md
---

# variables list

列出当前应用指定环境的所有环境变量

## 使用

```shell
Usage: nexus variables list [options]
```

## 选项

```shell
-v, --verbose                    enable verbose mode
-e, --environment <environment>  specify the environment (see your default environment by running nexus settings list)
--json                           output results in JSON format (default: false)
--non-interactive                run the command without input prompts
-h, --help                       display help for command
```

## 示例

列出当前应用 `development` 环境的所有环境变量

```shell
nexus variables list -e development
```
