The Astro CLI is the command line interface for data orchestration. It's the easiest way to get started with Apache Airflow and can be used with all Astronomer products.
Install the CLI
To install with Homebrew, run:
brew install astro
For alternative installation steps, see Install the Astro CLI.
The Astro CLI is open source and built for data practitioners everywhere. The binary is maintained in the public Astro CLI GitHub repository, where pull requests and GitHub issues are welcome.
Astro CLI Features
Preconfigured project directory
An Astro project includes all of the files required to run Airflow, including dedicated folders for your DAGs, packages, and unit tests.
Local Airflow environment
Using the Astro CLI, you can run a local Airflow environment, apply code changes, and view logs for all Airflow components.
Example pytests and DAGs
The Astro CLI includes example DAGs which showcase important Airflow best practices and help your team learn quickly.
Access browser-based authentication for Astro and Astronomer Software.
Astro Cloud UI compatible
A robust set of commands matches functionality in the Cloud UI, including Deployment creation and user management.
Configure Deployment API keys to automate CLI commands as part of CI/CD workflows.
Featured CLI docs
A record of all changes to the Astro CLI.
Authenticate to cloud services
Configure the Astro CLI to use locally stored user credentials as the default for all connections to your cloud.
Astro CLI command reference
Reference information about every available CLI command and option.
What is Astro?
Astro is a cloud solution that helps you focus on your data pipelines and spend less time managing Apache Airflow, with capabilities enabling you to build, run, and observe data all in one place.