Skip to content
Docs Try Aspire

aspire config list command

aspire config list - List all configuration values.

Aspire CLI
aspire config list [options]

The aspire config list command lists the currently configured Aspire CLI values by key name.

Starting in Aspire 13.2, Aspire prefers a rooted aspire.config.json file for project-scoped configuration. The CLI can also read and write user-scoped global defaults.

  • Project-scoped configuration

    Project-scoped settings live in a rooted aspire.config.json file. This replaces the older .aspire/settings.json model.

  • Global configuration

    User-scoped defaults can be set with aspire config set --global .... Project-scoped settings override global values when both are present.

This command lists both global and project-scoped settings. If a project-scoped setting overrides a global value, the project-scoped value is the one you should expect to take effect.

The following options are available:

  • --all

    Show all available feature flags that can be configured, including their default values and descriptions.

  • -?, -h, --help

    Prints help and usage documentation for the available commands and options.

  • -l, --log-level <Critical|Debug|Error|Information|None|Trace|Warning>

    Set the minimum log level for console output. Use this option to increase diagnostics while troubleshooting or reduce output in scripted runs.

  • --non-interactive

    Run the command in non-interactive mode, disabling all interactive prompts and spinners.

  • --nologo

    Suppress the startup banner and telemetry notice.

  • --banner

    Display the animated Aspire CLI welcome banner.

  • --wait-for-debugger

    Wait for a debugger to attach before running a command.

  • List the currently configured values:

    Aspire CLI
    aspire config list
  • List all available feature flags and their defaults:

    Aspire CLI
    aspire config list --all