About the CLI

The Wix CLI provides a set of global commands. They work the same way in any folder, inside or outside a project.

Note: Commands that run in a project aren't documented here. They're in the section of each project type, such as CLI for Apps and CLI for Headless.

The CLI's global commands manage your login, your access token, telemetry, and flows. For the list of these commands and their syntax, see the CLI Command Reference.

Flows

A flow is a set of extra commands that you add to the CLI. For example, the origami flow adds commands to export a Studio Two site to code. To add, update, or remove a flow, use wix flows.

When you add a flow with wix flows, the CLI installs it in your user folder, not in a project, so you can run its commands as wix <flow> <command> in any folder.

Keep the CLI up to date

To check which version of the CLI a project uses, run this command in the project's folder:

Copy

To upgrade the project to the latest version, run:

Copy

For updates to the CLI, see the changelog.

Run the CLI in CI/CD pipelines

You can run CLI commands in CI/CD pipelines, such as a GitHub Actions workflow. To log in without a browser, use wix login --api-key. To run unit tests in a pipeline, see Write Unit Tests for an app or a headless project.

Last updated: 10 November 2026

Did this help?