> 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 app

## Article: create app

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

## Article Content:

# npm create @wix/app

<blockquote class="warning">

**Deprecated**

The Legacy Wix CLI for Apps is deprecated and no longer receives updates or new features. New projects should use the [Wix CLI for Apps](https://dev.wix.com/docs/wix-cli/cli-for-apps/about-the-wix-cli-for-apps.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 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>

This command is deprecated, and you can no longer create projects with it. New app projects use the [new app project structure](https://dev.wix.com/docs/wix-cli/cli-for-apps/project-structure/about-the-app-project-structure.md). To create one, use [`npm create @wix/new app`](https://dev.wix.com/docs/wix-cli/cli-for-apps/command-reference/project-creation-commands/create-app.md).

Creates a Legacy Wix CLI for Apps project, either for a new [Wix app](https://dev.wix.com/docs/build-apps/get-started/overview/about-wix-apps.md) or for an app you already have.

Run this command in the folder where you want the project folder. The command prompts you for what to create.

> **Note:** This command is provided by the [`@wix/create-app`](https://www.npmjs.com/package/@wix/create-app) package, which is invoked through `npm create`. It doesn't require an existing project.

## Usage

```bash
npm create @wix/app@latest -- [flags]
```

The `--` separator tells `npm` to forward everything after it to the `@wix/create-app` package, instead of consuming the flags itself.

## Flags

The following flags are available for the `npm create @wix/app` command:

| Flag | Description |
| ---- | ----------- |
| `--app-name <app-name>` | The name for your new app. |
| `-t`, `--template <template-id>` | The ID of the [app template](https://dev.wix.com/apps-templates?filter=cli) to create the app from. |

## Prompts

When the command asks what you would like to do, select one of the following options:

- **Create a new Wix app:** Registers a new app in your app dashboard and creates a project for it. The command then asks how to create the app:
  - **Create a basic app:** Creates a simple app with a dashboard page.
  - **Start from a template:** Creates the app from one of the [CLI app templates](https://dev.wix.com/apps-templates?filter=cli).

  Then enter a name for your app, which appears in your [app dashboard](https://manage.wix.com/account/custom-apps), and a folder name for your project.
- **Add new extensions for an existing Wix app:** Creates a project for an app you already have. Choose the app to extend, and then enter a folder name for your project.

## After the command runs

The project's files appear in a local folder with the name you chose. For the files it contains, see [Legacy App Project Structure](https://dev.wix.com/docs/wix-cli/legacy-clis/legacy-wix-cli-for-apps/project-structure/legacy-app-project-structure.md).

If you created a new app, it appears in your [app dashboard](https://manage.wix.com/account/custom-apps), but it isn't installed on a development site yet. To start a local development environment, run [`wix app dev`](https://dev.wix.com/docs/wix-cli/legacy-clis/legacy-wix-cli-for-apps/command-reference/project-commands/dev.md).