> To build a Wix site agentically, follow https://www.wix.com/headless/skill.md
> 
> 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: create-version

## Article: create-version

## Article Link: https://dev.wix.com/docs/wix-cli/legacy-clis/legacy-wix-cli-for-apps/command-reference/project-commands/create-version.md

## Article Content:

# wix app create-version

<blockquote class="warning">

**Deprecated**

The Legacy Wix CLI for Apps is deprecated and no longer receives updates or new features. You can no longer create projects with it. New app projects use the [Wix CLI for Apps](https://dev.wix.com/docs/wix-cli/cli-for-apps/about-the-wix-cli-for-apps.md).

On February 28, 2027, the Legacy Wix CLI for Apps reaches its end of life. After that date, you can't release new versions of apps built with it.

- 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 migrate an existing app to the new Wix CLI, see [Migrate a Legacy CLI 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/migrate-an-app-from-the-legacy-cli/migrate-a-legacy-cli-app-to-the-new-wix-cli.md).

</blockquote>

> **Note**: The `create-version` command is replaced by the [`release`](https://dev.wix.com/docs/wix-cli/legacy-clis/legacy-wix-cli-for-apps/command-reference/project-commands/release.md) command. `create-version` is supported for a limited time to allow you to switch to the new command.

Starts a process that guides you through creating a new app version. You can view your [app versions](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%2Fversions-app) in the app dashboard.

Once the app version is created, you can [submit it for review](https://dev.wix.com/docs/build-apps/launch-your-app/app-distribution/submit-your-first-app-version.md) to publish it to the [Wix App Market](https://www.wix.com/app-market). If you choose not to list your app in the Wix App Market, you can distribute your app by [sharing an install link](https://dev.wix.com/docs/build-apps/launch-your-app/app-distribution/install-your-app/share-an-app-install-link.md) or [install it directly](https://dev.wix.com/docs/build-apps/launch-your-app/app-distribution/install-your-app/install-your-app-directly-on-sites.md) on a site in your account.

To learn more about app versions, see [App Versions and Deployment](https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/project-development/about-project-development.md).

## Usage

```bash
wix app create-version [flags]
```

## Flags

The following flags are available for the `wix app create-version` command:

| Flag | Alias | Description |
| ---- | ----- | ----------- |
| `--version-type <type>` | `-t <type>` | Specifies the type of version to create. <br><br> Accepted values for `<type>`: `major`, `minor`. |
| `--approve-preview` | `-y` | Automatically approves continuing with the publishing process after the preview is provided. Without this flag, you're asked for approval. |
| `--base-url <url>` | | Sets the base URL for uploading your static files to an external CDN. If you don't provide this flag, the code for your app is hosted on Wix's servers. |