Skip to main content
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.

astro env variable

View documentation for astro env variable.

astro env connection

View documentation for astro env connection.

astro env airflow-variable

View documentation for astro env airflow-variable.

astro env metrics-export

View documentation for astro env metrics-export.