Determine Which CLI Your Project Uses

App projects use one of three project structures. Before you follow any guide for an app project, identify which structure it uses, because the structure decides which commands you run and how your extensions are declared.

Check your configuration files and dependencies

To find which structure your project uses, check the following against the table below:

  1. The configuration files in your project's root folder.
  2. The dependency in your project's package.json file.
StructureConfiguration files in the root folderDependency in package.json
The new Wix CLI, described in About the App Project Structurewix.config.mjs@wix/custom-extensions
The Astro-based structure, described in Astro-based App Project Structurewix.config.json and astro.config.mjs@wix/astro
The Legacy Wix CLI for Apps, described in Legacy App Project Structurewix.config.json@wix/cli-app

Note: Both the Astro-based and the new structure have src/extensions.ts, so its presence rules out the legacy Wix CLI for Apps but doesn't distinguish between the other two.

Move to the new structure

Both earlier structures have a migration path to the new Wix CLI. To choose yours, see About Migrating an App to the New Wix CLI.

Last updated: 11 November 2026

Did this help?