> 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 Wix CLI for Apps

## Article: About the Wix CLI for Apps

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

## Article Content:

# About the Wix CLI for Apps

With the Wix CLI, you can create, develop, and release [Wix apps](https://dev.wix.com/docs/build-apps/get-started/overview/about-wix-apps.md). This section documents what's specific to app projects: their project structure and the commands that work in them.

> **Note:** Commands that you use with apps but aren't specific to them, such as logging in, are [global commands](https://dev.wix.com/docs/wix-cli/cli/about-the-cli.md).

You can call Wix APIs directly from your app's code. The CLI handles token management and authentication, so you don't need to set up a [Wix client](https://dev.wix.com/docs/sdk/articles/set-up-a-client/about-the-wix-client.md).

To create your first app, see [Quick Start a Wix-Managed App with the Wix CLI for Apps](https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/get-started/quick-start-a-wix-cli-app.md).

## Project structure

An app project follows a standard [project structure](https://dev.wix.com/docs/wix-cli/cli-for-apps/project-structure/about-the-app-project-structure.md). Its main packages are `@wix/cli` and `@wix/custom-extensions`, described in [package.json](https://dev.wix.com/docs/wix-cli/cli-for-apps/project-structure/folders-and-files/package-json.md). You add functionality with [extensions](https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/supported-extensions/about-extensions-in-the-wix-cli.md), such as dashboard pages and event handlers, and you can organize them in your own folders in the `src/` folder.

## Commands

The [Wix CLI for Apps Command Reference](https://dev.wix.com/docs/wix-cli/cli-for-apps/command-reference/introduction.md) documents the commands for app projects:

- Project creation commands run through `npm create @wix/new`, before a project exists.
- Project commands run in the folder of a project that uses the [app project structure](https://dev.wix.com/docs/wix-cli/cli-for-apps/project-structure/about-the-app-project-structure.md).

## Develop, test, and release

- **Develop and test:** Run [`wix app dev`](https://dev.wix.com/docs/wix-cli/cli-for-apps/command-reference/project-commands/dev.md) to work on your app on a [development site](https://dev.wix.com/docs/build-apps/develop-your-app/development-sites/about-development-sites.md). To choose, list, or create development sites, see [Work with Development Sites](https://dev.wix.com/docs/build-apps/develop-your-app/development-sites/work-with-development-sites.md).
- **Environment variables:** Manage configuration values and secrets with [`wix app env`](https://dev.wix.com/docs/wix-cli/cli-for-apps/command-reference/project-commands/env.md). See [About Environment Variables in the CLI](https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/project-development/environment-variables/about-environment-variables-in-the-cli.md).
- **Build, preview, and release:** Use [`wix app build`](https://dev.wix.com/docs/wix-cli/cli-for-apps/command-reference/project-commands/build.md), [`wix app preview`](https://dev.wix.com/docs/wix-cli/cli-for-apps/command-reference/project-commands/preview.md), and [`wix app release`](https://dev.wix.com/docs/wix-cli/cli-for-apps/command-reference/project-commands/release.md). See [Build and Deploy a Project with the Wix CLI](https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/project-development/build-and-deploy.md).

## Earlier app project structures

Older app projects may use an earlier project structure. For those structures, see [About Legacy CLIs](https://dev.wix.com/docs/wix-cli/legacy-clis/about-legacy-clis.md).

To find out which structure a project uses, see [Determine Which CLI Your Project Uses](https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/project-development/determine-which-cli-your-project-uses.md).

To move a project to the current structure, see [About Migrating an App to the New Wix CLI](https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/migrate-an-app-to-the-new-cli/about-migrating-an-app-to-the-new-wix-cli.md).