Skip to content

env ls

$ copilot env ls [flags]

What does it do?

copilot env ls lists all the environments in your application.

What are the flags?

-h, --help          help for ls
    --json          Optional. Output in JSON format.
-a, --app string    Name of the application.
You can use the --json flag if you'd like to programmatically parse the results.

Examples

Lists all the environments for the frontend application.

$ copilot env ls -a frontend

What does it look like?

Running copilot env ls