CLI Command Reference

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.

Global commands

You can run these commands from any folder, inside or outside a project. To run them outside a project, install the CLI globally:

Copy
CommandDescription
loginLogs in to your Wix account.
logoutLogs out of your Wix account.
whoamiDisplays the email address of the logged-in Wix user.
telemetryOpts in or out of sending usage information and error reports (telemetry) to Wix.
tokenPrints the current access token, refreshing it if needed.
flowsLists, adds, and removes flows, which are sets of extra commands for the CLI.

Command syntax

Global commands follow this general form:

Copy

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 behavior

Some 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

Did this help?