Skip to main content

astro config get


The behavior and format of this command are the same for both Astro and Software.

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.


Within your Astro project directory, run:

astro config get <option>


OptionDescriptionPossible Values
-g, --globalView global CLI configuration settings. See Set global configurations.None

For a list of available configurations, see Configure the CLI.


## View the username for your project's postgres user
$ astro config get postgres.user

Was this page helpful?

Sign up for Developer Updates

Get a summary of new Astro features once a month.

You can unsubscribe at any time.
By proceeding you agree to our Privacy Policy, our Website Terms and to receive emails from Astronomer.