> ## Documentation Index
> Fetch the complete documentation index at: https://astronomer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# astro env

<Info>
  This command is only available on Astro.
</Info>

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`](/docs/cli/v1.43/astro-deployment-variable-create), which writes directly to a single Deployment, and [`astro deployment connection`](/docs/cli/v1.43/astro-deployment-connection-create), 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.

<CardGroup cols={2}>
  <Card title="astro env variable" href="/docs/cli/v1.43/astro-env-variable">
    View documentation for `astro env variable`.
  </Card>

  <Card title="astro env connection" href="/docs/cli/v1.43/astro-env-connection">
    View documentation for `astro env connection`.
  </Card>

  <Card title="astro env airflow-variable" href="/docs/cli/v1.43/astro-env-airflow-variable">
    View documentation for `astro env airflow-variable`.
  </Card>

  <Card title="astro env metrics-export" href="/docs/cli/v1.43/astro-env-metrics-export">
    View documentation for `astro env metrics-export`.
  </Card>
</CardGroup>
