astro env

This command is only available on Astro.

Use astro env commands to manage Environment Manager objects from your terminal. These objects include environment variables, Airflow connections, Airflow variables, and metrics exports. You can scope each object to a Workspace or a Deployment, and you can link a Workspace-scoped object to specific Deployments.

These commands are distinct from astro deployment variable, which writes directly to a single Deployment, and astro deployment connection, which writes to a Deployment’s Airflow metadata database. Use astro env for objects that you want to share across Deployments or manage at the Workspace level.