Skip to main content

defang workspace ls

List available workspaces

defang workspace ls [flags]

Aliases: list

Options

  -h, --help   help for ls
--json print output in JSON format

Options inherited from parent commands

      --color color-mode      colorize output; one of [never auto always] (default auto)
-C, --cwd string change directory before running the command
--debug debug logging for troubleshooting the CLI
--dry-run dry run (don't actually change anything)
-f, --file stringArray compose file path(s)
--non-interactive disable interactive prompts / no TTY (default true)
-p, --project-name string project name
-P, --provider provider bring-your-own-cloud provider; one of [defang aws digitalocean gcp] (default auto)
-s, --stack string stack name (for BYOC providers)
-v, --verbose verbose logging
--workspace string workspace to use (tenant name or ID)

SEE ALSO

Auto generated by spf13/cobra on 19-Dec-2025