Skip to main content

astro dev run

Run Airflow CLI commands in your local Airflow environment. This command is for local development only and cannot be applied to Deployments running on Astro.

Usage

astro dev run <airflow-command>

Examples

$ astro dev run users create --role Admin --username admin --email <your-email-address> --firstname <your-first-name> --lastname <your-last-name> --password admin
# Create a user in your local Airflow environment using the `airflow user create` Airflow CLI command

$ astro dev run connections export - --file-format=env --serialization-format=json
# Export connections in your local Airflow environment to STDOUT in a JSON format

$ astro dev run connections export - --file-format=env
# Export connections in your local Airflow environment to STDOUT in the default URI format

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.