> ## Documentation Index
> Fetch the complete documentation index at: https://astronomer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# astro config set

> Update Astro CLI configurations.

> [!NOTE]
>
> The behavior and format of this command are the same for both Astro and Astro Private Cloud.

Update any part of the current configuration of your Astro project as defined in the `.astro/config.yaml` file. The configuration in this file contains details about how your project runs in a local Airflow environment, including your Postgres username and password, your Webserver port, and your project name.

## Usage

Within your Astro project directory, run:

```sh wrap theme={null}
astro config set <configuration> <value>
```

## Options

| Option | Description | Possible Values |
| - | - | - |
| `-g`, `--global` | Modify global CLI configuration settings. See [Set global configurations](https://astronomer.io/docs/cli/v1.47/configure-cli.md#set-global-configurations). | None |

For a list of available configurations, see [Configure the CLI](https://astronomer.io/docs/cli/v1.47/configure-cli.md).

## Examples

```sh wrap theme={null}
## Set your webserver port to 8081
$ astro config set webserver.port 8081
```

## Related commands

* [astro config get](https://astronomer.io/docs/cli/v1.47/astro-config-get.md)
