> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: About the CLI

## Article: About the CLI

## Article Link: https://dev.wix.com/docs/wix-cli/cli/about-the-cli.md

## Article Content:

# 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](https://dev.wix.com/docs/wix-cli/cli-for-apps/about-the-wix-cli-for-apps.md) and [CLI for Headless](https://dev.wix.com/docs/wix-cli/cli-for-headless/about-the-wix-cli-for-headless.md).

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](https://dev.wix.com/docs/wix-cli/cli/command-reference/introduction.md).

## Flows

A flow is a set of extra commands that you add to the CLI. For example, the [`origami` flow](https://dev.wix.com/docs/wix-cli/cli-for-origami/command-reference/introduction.md) adds commands to export a Studio Two site to code. To add, update, or remove a flow, use [`wix flows`](https://dev.wix.com/docs/wix-cli/cli/command-reference/global-commands/flows.md).

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:

```bash
npm list @wix/cli
```

To upgrade the project to the latest version, run:

```bash
npm i --save-dev @wix/cli@latest
```

For updates to the CLI, see the [changelog](https://dev.wix.com/changelog).

## Run the CLI in CI/CD pipelines

You can run CLI commands in CI/CD pipelines, such as a [GitHub Actions](https://github.com/features/actions) workflow. To log in without a browser, use [`wix login --api-key`](https://dev.wix.com/docs/wix-cli/cli/command-reference/global-commands/login.md#flags). To run unit tests in a pipeline, see Write Unit Tests for [an app](https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/project-development/test-and-monitor/write-unit-tests-for-a-wix-cli-project.md) or [a headless project](https://dev.wix.com/docs/go-headless/wix-managed-headless/full-integration-astro/development/write-unit-tests.md).