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

# Run Airflow locally

Running Airflow locally with the Astro CLI lets you preview and debug dag changes before deploying to production. In a local Airflow environment, you can fix issues with your dags without consuming infrastructure resources or waiting on code deploy processes.

The Astro CLI uses Podman or Docker to run Airflow components in containers on your local machine. All tasks run locally in the scheduler container using the [local executor](https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/executor/local.html).

See the following documentation to get started:

* [Run Airflow locally](/docs/cli/v1.38/run-airflow-locally)
* [Test your dags](/docs/cli/v1.38/test-your-astro-project-locally)
* [Troubleshoot locally](/docs/cli/v1.38/troubleshoot-locally)
* [Sync Deployment connections from Astro](/docs/cli/v1.38/local-connections)
