Determine Which CLI Your Project Uses

The Wix CLI is a unified tool for both Wix apps and Wix-managed headless projects.

If you're working on an existing app project, you can identify which CLI it uses by checking a few key indicators.

Check your package.json

Look for @wix/astro in your project's devDependencies.

Copy

Check for extensions.ts file

Look for an extensions.ts file in your project's src folder.

Copy

If your project has these indicators, then it uses the Wix CLI documented in this reference.

If your project doesn't have these indicators, your app project uses the Legacy Wix CLI for Apps.

Did this help?