Skip to main content

astro deployment airflow upgrade


This command is available only if you're authenticated to an Astronomer Software installation.

Initializes the Airflow version upgrade process on any Airflow Deployment on Astronomer. See Upgrade Airflow on Astronomer Software


Run astro deployment airflow upgrade --deployment-id to initialize the Airflow upgrade process. To finalize the Airflow upgrade process, complete all of the steps in Upgrade Airflow on Astronomer Software.

If you do not specify --desired-airflow-version, this command creates a list of available Airflow versions that you can select. The Astro CLI lists only the available Airflow versions that are later than the version currently specified in your Dockerfile.


OptionDescriptionPossible values
--cancelCancel the upgradeNone
--deployment-idThe ID of the Deployment that you want to upgrade the Airflow version. Run astro deployment list to retrieve your Deployment IDAny Deployment ID
--desired-airflow-versionThe Airflow version you're upgrading to. For example, 2.2.0Any supported Airflow version


# Upgrade to Airflow 2.4 
$ astro deployment airflow --deployment-id telescopic-sky-4599 --desired-airflow-version 2.2.0

Was this page helpful?

Sign up for Developer Updates

Get a summary of new Astro features once a month.

You can unsubscribe at any time.
By proceeding you agree to our Privacy Policy, our Website Terms and to receive emails from Astronomer.