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

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

View 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 get <option>
```

## Options

| Option           | Description                                                                                                                  | Possible Values |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------- | --------------- |
| `-g`, `--global` | View global CLI configuration settings. See [Set global configurations](/docs/cli/v1.38/configure-cli#set-global-configurations). | None            |

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

## Examples

```sh wrap theme={null}
## View the username for your project's postgres user
$ astro config get postgres.user
```

## Related commands

* [astro config set](/docs/cli/v1.38/astro-config-set)
