wix env

Deprecated

The Astro-based Wix CLI for Apps is deprecated. New projects should use the Wix CLI for Apps.

Manages your project's environment variables on Wix's servers.

Usage

Copy

Subcommands

The following table lists the subcommands available for the wix env command:

SubcommandDescription
pullPulls all your environment variables from Wix's servers and merges them into the .env.local file.
setSets an environment variable on Wix's servers.
removeRemoves an environment variable from Wix's servers.

pull

Pulls all your environment variables from Wix's servers and merges them into the .env.local file.

Copy

The pulled variables include any shared by your project's collaborators.

set

Sets an environment variable on Wix's servers.

Copy

Variables you set are stored on Wix servers and shared with your project's collaborators, who retrieve them by running wix env pull.

The following flags are available for the set subcommand:

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

remove

Removes an environment variable from Wix's servers.

Copy

Removing a variable removes it for all collaborators on your project.

The following flag is available for the remove subcommand:

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

Last updated: 10 November 2026

Did this help?