This is where you’ll find information about creating a project and running it in a local Airflow environment.
Creating an Astro project requires the Astro CLI.
Before you create a Software project, create an empty directory and open it:
From this directory, run the following Astro CLI command:
This generates the following files:
A few of these files are essential for deploying your Airflow image for the first time:
Your Dockerfile will include reference to an Astro Runtime Docker image. Astro Runtime is a production ready data orchestration tool based on Apache Airflow that includes additional features and undergoes additional levels of rigorous testing conducted by Astronomer.
This Docker image is hosted on Astronomer’s Quay.io registry and allows you to run Airflow on Astronomer. Additionally, the image you include in your Dockerfile dictates the version of Airflow you’d like to run both when you’re developing locally and pushing up to Astro.
Because Astro Runtime releases more frequently than Apache Airflow, a Runtime image’s version number will be different than the Apache Airflow version it supports. See Astro Runtime and Apache Airflow parity.
By default, the Docker image in your Dockerfile is:
This command installs a Debian-based Astro Runtime image that supports the latest version of Airflow. To use a specific Airflow version, read Upgrade Airflow.
To help you get started, your initialized project includes an example-dag in /dags. This DAG simply prints today’s date, but it’ll give you a chance to become familiar with how to deploy on Astronomer.
If you’d like to deploy some more functional DAGs, upload your own or check out example DAGs we’ve open sourced.
To confirm that you successfully initialized an Astro project, run the following command from your project directory:
This command builds your project and spins up 4 Docker containers on your machine, each for a different Airflow component:
Once your project builds successfully, you can access the Airflow UI by going to http://localhost:8080/ and logging in with admin for both your username and password.
After logging in, you should see the DAGs from your dags directory in the Airflow UI.

Once you’ve successfully created a Software project on your local machine, we recommend reading the following: