With Wix CLI you can develop, test, and deploy Wix projects directly from your terminal. This reference guide provides detailed documentation for all available CLI commands.
| Command | Description |
|---|---|
| dev | Starts a local development environment that serves your project. |
| build | Builds your project. |
| generate | Generates an extension for your project. |
| preview | Creates an online preview of your built project. |
| release | Starts a process that guides you through releasing your project. |
| env pull | Pulls all your environment variables from Wix's servers and merges them into the .env.local file. |
| env set | Sets an environment variable on Wix's servers. |
| env remove | Removes an environment variable from Wix's servers. |
| login | Logs in to your Wix account. |
| logout | Logs out of your Wix account. |
| telemetry | Opts in or out of sending anonymous usage information (telemetry) to Wix. |
| whoami | Displays the email address of the logged-in Wix user. |
All Wix CLI commands follow this general syntax:
Where:
<command> is the primary action (for example, dev, build, release)[subcommand] is an optional secondary action (for example, env set)[flags] are optional parameters that modify the command's behavior