Installing the CLI
The Astronomer CLI provides a local and dockerized version of Apache Airflow to use while writing your DAGs. Even if you're not using Astronomer, our CLI is an easy way to use Apache Airflow on your local machine.
To install the CLI, make sure you have the following on your machine:
For the most recent version of our CLI, run the following command.
curl -sSL https://install.astronomer.io | sudo bash
If you'd like to install a previous version of our CLI, the following command should do the trick:
curl -sSL https://install.astronomer.io | sudo bash -s -- [TAGNAME]
To install CLI v0.7.5, for example, run:
curl -sSL https://install.astronomer.io | sudo bash -s -- v0.7.5
Note: If you get a mkdir error while going through the install, please download and run the godownloader script locally.
cat godownloader.sh | bash -s -- -b /usr/local/bin
If you're interested in running the Astronomer CLI on the Windows 10 subsystem for Linux, check out this doc.