Documentation

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.

Prerequisites

To install the CLI, make sure you have the following on your machine:

Install

For the most recent version of our CLI, run the following command.

Via curl:

 curl -sSL https://install.astronomer.io | sudo bash

Previous Versions

If you'd like to install a previous version of our CLI, the following command should do the trick:

Via curl:

 curl -sSL https://install.astronomer.io | sudo bash -s -- [TAGNAME]

For example:

curl -sSL https://install.astronomer.io | sudo bash -s -- v0.3.1

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

Windows 10

If you're interested in running the Astronomer CLI on the Windows 10 subsystem for Linux, check out this doc.