Skip to main content

astro config set


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

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.


Within your Astro project directory, run:

astro config set <configuration> <value>


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

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


## Set your webserver port to 8081
$ astro config set webserver.port 8081

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.