wix env set

Sets an environment variable on Wix's servers.

Variables you set are stored on Wix servers and shared with your project's collaborators, who retrieve them by running wix env pull. In Wix-managed headless projects, these variables aren't shown in the Secrets Manager, which displays only secrets added through the dashboard.

Usage

Copy

Flags

The following flags are available for the wix env set command:

FlagDescription
--key <key>(Required) Name of the variable.
--value <value>(Required) Value of the variable.

Date last updated: 18 June 2026

Did this help?