Skip to main content
This command is only available on Astro.
Use astro env variable commands to list, create, update, delete, and export environment variables managed through the Astro Environment Manager. You can scope a variable to a Workspace or a Deployment, and you can link a Workspace-scoped variable to specific Deployments. To manage these variables in the Astro UI instead, see Create environment variables in the Astro UI.

astro env variable create

View documentation for astro env variable create.

astro env variable delete

View documentation for astro env variable delete.

astro env variable export

View documentation for astro env variable export.

astro env variable get

View documentation for astro env variable get.

astro env variable link

View documentation for astro env variable link.

astro env variable list

View documentation for astro env variable list.

astro env variable update

View documentation for astro env variable update.