Skip to main content
Define environment variables per application in the Environment Variables panel. These variables are automatically injected into the live preview, build pipeline, and deployments.

Live Reload

When you update or delete an environment variable, the preview automatically reloads with the changes — no restart needed.

System Variables

System variables like MAJOR_API_BASE_URL cannot be overridden. Any variable with the MAJOR_ prefix is reserved.

Deployed Apps

After changing environment variables in a deployed app, click Redeploy to apply them to the live deployment. Environment variable changes do not take effect on deployed apps until redeployed.

CLI

You can also manage environment variables from the CLI. Environment names are case-insensitive, so --env staging and --env Staging resolve to the same environment. See the CLI Resource docs for details.