For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
      • AstroFully-managed data operations, powered by Apache Airflow.
      • Astro Private CloudRun Airflow-as-a-service in your environment.
      • Professional ServicesExpert Airflow services for your enterprise's success.
    • Tools
      • Cosmos
      • Orbiter
      • CLI
      • AI SDK
      • Agents
      • Blueprint
      • UpdatesThe State of Airflow 2026See the insights from over 5,800 data practitioners in the full report. Download Now ➔
  • Customers
  • Docs
    • Insights
      • Blog
      • Webinars
      • Resource Library
      • Events
    • Education
      • Academy
      • What is Airflow?
  • Pricing
Get Started Free
    • Overview
      • Customize image
      • Upgrade to Airflow 2
      • Access the Airflow database
      • Bring your own Airflow database
      • Airflow API
      • Upgrade to Astro CLI version 1.0+
    • Book Office Hours

Product

  • Platform Overview
  • Astro
  • Astro Observe
  • Astro Private Cloud
  • Security & Trust
  • Pricing

Tools & Services

  • Cosmos
  • Docs
  • Professional Services
  • Product Updates

Use Cases

  • AI Ops
  • Data Observability
  • ETL/ELT
  • ML Ops
  • Operational Analytics
  • All Use Cases

Industries

  • Financial Services
  • Gaming
  • Retail
  • Manufacturing
  • Healthcare
  • All Industries

Resources

  • Academy
  • eBooks & Guides
  • Blog
  • Webinars
  • Events
  • The Data Flowcast Podcast
  • All Resources

Airflow

  • What is Airflow
  • Airflow on Astro
  • Airflow 3.0
  • Airflow Upgrades
  • Airflow Use Cases
  • Airflow 2.x End of Life

Company

  • Our Story
  • Customers
  • Newsroom
  • Careers
  • Contact

Support

  • Knowledge Base
  • Status
  • Contact Support
GitHubYouTubeLinkedInx
  • Legal
  • Privacy
  • Terms of Service
  • Consent Preferences

  • Do Not Sell or Share My Personal information
  • Limit the Use Of My Sensitive Personal Information

Apache Airflow®, Airflow, and the Airflow logo are trademarks of the Apache Software Foundation. Copyright © Astronomer 2026. All rights reserved.

LogoLogo
On this page
  • Upgrade checklist
  • Features
  • New astro dev restart command to test local changes
  • New command to run DAG unit tests with pytest
  • New command to parse DAGs for errors
  • Breaking changes
  • astro auth login is now astro login
  • astro workspace create/update now takes all configurations as flags
  • astro workspace create/update: --desc flag has been renamed to --description
  • astro workspace user add: User email is now specified as a flag
  • astro deploy Now accepts a Deployment ID instead of a release name
  • astro workspace sa get is now astro workspace sa list
  • astro deployment/workspace sa create: --role only accepts full role names
  • astro deployment create/update now takes all properties as flags
  • astro deployment user list Now Takes Deployment ID as a Flag
  • astro deployment user add: --email flag is now required
  • astro deployment user delete is now astro deployment user remove
  • astro logs <component> is now deprecated
  • astro cluster list/switch is now astro context list/switch
  • astro deployment sa create: --system-sa and --user-id are deprecated
Develop

Upgrade to Astro CLI version 1.0+

Edit this page
Built with

Astro CLI version 1.0+ delivers several new features to Astronomer Software and establishes a shared CLI framework across all Astronomer products.

Several commands and their flags have been updated as part of this release, resulting in breaking changes for users of Astronomer Software. Use this document to learn about these breaking changes and prepare for your upgrade to Astro CLI version 1.0+.

This information applies only to users who are upgrading the Astro CLI from a pre-1.0 to a post-1.0 version. To install the latest version of the CLI for the first time, see Install the CLI.

Upgrade checklist

Before installing Astro CLI version 1.0+, complete all of the following steps:

  • Make sure you are running Astronomer Software version 0.28+. If you’re not sure, ask your system administrator.
  • Review the Breaking changes section in this document.
  • Update any CI/CD pipelines or automated processes that use Astro CLI commands to ensure that these commands do not break after you upgrade.
  • Review any custom shortcuts in your local CLI terminal to ensure that your shortcuts do not run any CLI commands that are no longer supported.

After you complete these steps, upgrade to Astro CLI version 1.0+ by following the instructions in Install the CLI.

Features

New astro dev restart command to test local changes

For users making continuous changes to an Astro project locally, the Astro CLI now supports a new astro dev restart command. With this new command, you no longer need to run astro dev stop followed by astro dev start when you’re testing locally.

For more information, see CLI command reference.

New command to run DAG unit tests with pytest

You can now run custom unit tests for all DAGs in your Astro project with astro dev pytest, a new Astro CLI command that uses pytest, a common testing framework for Python. As part of this change, new Astro projects created with astro dev init now include a tests directory, which includes one example unit test built by Astronomer.

In addition to running tests locally, you can also run astro dev pytest as part of the deploy process to Astronomer Software. For more information, see CLI command reference.

New command to parse DAGs for errors

The new astro dev parse command allows you to run a basic test against your Astro project to ensure that your DAGs are able to render in the Airflow UI. This includes the DAG integrity test that is run with astro dev pytest, which checks that your DAGs are able to render in the Airflow UI. Now, you can quickly run astro dev parse and see import and syntax errors directly in your terminal without having to restart all Airflow services locally.

For more complex testing, Astronomer recommends using astro dev pytest to run custom tests in your project. For more information on astro dev parse, see the CLI command reference.

Breaking changes

This topic contains all information related to breaking changes included in Astro CLI version 1.0+ relative to version 0.28 and below.

This topic does not include information about new features and changes that are not breaking. For a summary of all changes, see the CLI release notes.

astro auth login is now astro login

The previous astro auth login and astro auth logout commands have been simplified:

1# Before upgrade
2astro auth login <domain>
3astro auth logout
4
5# After upgrade
6astro login <domain>
7astro logout

astro workspace create/update now takes all configurations as flags

When you specify configurations for a Workspace using astro workspace create or astro workspace update, you must now specify those properties with new flags.

1# Before upgrade
2astro workspace create label=my-workspace
3
4# After upgrade
5astro workspace create --label=my-workspace

astro workspace create/update: --desc flag has been renamed to --description

The flag for specifying a description for a Workspace has been renamed from --desc to --description.

1# Before upgrade
2astro workspace create label=my-workspace --desc="my description"
3
4# After upgrade
5astro workspace create --label=my-workspace --description="my description"

astro workspace user add: User email is now specified as a flag

You must now specify a new user’s email using the --email flag when running astro workspace

1# Before upgrade
2astro workspace user add email-to-add@astronomer.io --role WORKSPACE_VIEWER
3# After upgrade
4astro workspace user add --email email-to-add@astronomer.io --role WORKSPACE_VIEWER

astro deploy Now accepts a Deployment ID instead of a release name

To deploy code to a specific Deployment without manually selecting a Deployment from a list, you must now specify that Deployment’s ID instead of its release name when running astro deploy.

1# Before upgrade
2astro deploy <release-name>
3
4# After upgrade
5astro deploy <deployment-id>

astro workspace sa get is now astro workspace sa list

1# Before upgrade
2astro workspace sa get
3# After upgrade
4astro workspace sa list

astro deployment/workspace sa create: --role only accepts full role names

The --role flag now accepts either WORKSPACE_EDITOR, WORKSPACE_ADMIN, or WORKSPACE_VIEWER.

1# Before upgrade
2astro workspace sa create --role viewer
3
4# After upgrade
5astro workspace sa create --role WORKSPACE_VIEWER

astro deployment create/update now takes all properties as flags

You must now specify a Deployment’s properties using flags when you run astro deployment create or astro deployment update.

1# Before upgrade
2astro deployment create my-deployment --executor=local
3
4# After upgrade
5astro deployment create --label=my-deployment --executor=local

astro deployment user list Now Takes Deployment ID as a Flag

To list users that have access to a specific Deployment, you must now use the --deployment-id flag when running astro deployment user list.

1# Before upgrade
2astro deployment user list <deployment-id>
3
4# After upgrade
5astro deployment user list --deployment-id=<deployment-id>

astro deployment user add: --email flag is now required

You must now specify a user’s email using the --email flag when running astro deployment user add.

1# Before upgrade
2astro deployment user add <email> --deployment-id=<deployment-id>
3
4# After upgrade
5astro deployment user add --email=<email> --deployment-id=<deployment-id>

astro deployment user delete is now astro deployment user remove

1# Before upgrade
2astro deployment user delete <email> --deployment-id=<deployment-id>
3
4# After upgrade
5astro deployment user remove <email> --deployment-id=<deployment-id>

astro logs <component> is now deprecated

The astro logs command has been removed. This command has been unavailable for the last several CLI releases. Use astro dev logs to view logs locally or astro deployment logs <component> to view logs for a Deployment hosted on Astronomer Software.

astro cluster list/switch is now astro context list/switch

1# Before upgrade
2astro cluster list
3
4# After upgrade
5astro context list

astro deployment sa create: --system-sa and --user-id are deprecated

The --system-sa and --user-id flags have been deprecated for astro deployment sa create. These flags have not been functional for the last several CLI versions.