The Wix CLI provides global commands that work in any folder, with or without a project. This reference documents them. Every command accepts -h and --help, which print the command's usage and flags.
Note: Commands specific to a project type are documented under that project type.
You can run these commands from any folder, inside or outside a project. To run them outside a project, install the CLI globally:
| Command | Description |
|---|---|
| login | Logs in to your Wix account. |
| logout | Logs out of your Wix account. |
| whoami | Displays the email address of the logged-in Wix user. |
| telemetry | Opts in or out of sending usage information and error reports (telemetry) to Wix. |
| token | Prints the current access token, refreshing it if needed. |
| flows | Lists, adds, and removes flows, which are sets of extra commands for the CLI. |
Global commands follow this general form:
Angle brackets mark a required part, and square brackets mark an optional part. Don't type the brackets.
Where:
<command> is the primary action (for example, login, whoami)[flags] are parameters that modify the command's behaviorSome commands also take an argument, a value you type after the command name without a flag. For example, wix telemetry takes a required state, as in wix telemetry <state>.
Last updated: 10 November 2026