> ## 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

<Info>The behavior and format of this command are the same for both Astro and Astro Private Cloud.</Info>

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](/docs/cli/v1.41/configure-cli#set-global-configurations). | None            |

For a list of available configurations, see [Configure the CLI](/docs/cli/v1.41/configure-cli).

## Examples

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

## Related commands

* [astro config get](/docs/cli/v1.41/astro-config-get)
