Skip to main content

Documentation Index

Fetch the complete documentation index at: https://astronomer-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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