# aspire config set command

## Name

`aspire config set` - Set a configuration value.

## Synopsis

```bash title="Aspire CLI"
aspire config set <key> <value> [options]
```

## Description

The `aspire config set` command sets a config value by key name.

<Include relativePath="reference/cli/includes/config-file-description.md" />

## Arguments

The following arguments are available:

- **`key`**

  The configuration key to set.

- **`value`**

  The configuration value to set.

## Options

The following options are available:

- **`-g, --global`**

  Set the configuration value in user-scoped global Aspire configuration
  instead of the rooted `aspire.config.json` file.
  Project-specific values such as `appHost.path` can't be set globally.

- <Include relativePath="reference/cli/includes/option-help.md" />

- <Include relativePath="reference/cli/includes/option-log-level.md" />

- <Include relativePath="reference/cli/includes/option-non-interactive.md" />

- <Include relativePath="reference/cli/includes/option-nologo.md" />

- <Include relativePath="reference/cli/includes/option-banner.md" />

- <Include relativePath="reference/cli/includes/option-wait.md" />

## Settings

The following config settings are available:

<Include relativePath="reference/cli/includes/config-settings-table.md" />