Build and Deploy an App with the Wix CLI

After developing and testing your Wix CLI app locally, you can take it to production. This article guides you through that process. You can also use Wix Skills to implement the build and deploy process. For app testing guidelines, see App Checks and Testing Guide.

For instructions on creating an app project, see Quick Start an App.

Before you begin

Before getting started, make sure that you have Node.js (v20.11.0 or higher).

Step 1 | Build the project

Run the build command to build the assets for your project:

Copy

Step 2 (Optional) | Create preview URLs

A preview URL is a link you can share with team members that allows them to preview and test your project. Each preview URL directs to a unique version of your project hosted on Wix's servers. Subsequent updates to your project won't affect any previously created versions.

To push your project to Wix's servers for hosting and create preview URLs, run the preview command:

Copy

This returns unique URLs linking to preview versions of your site, editor, and dashboard that you can share with others.

Important: The preview command uploads your code but does not register all extensions in your app's configuration. Some extensions, such as embedded scripts, site widgets, and site plugins, won't be recognized by Wix until you run release.

Step 3 | Release your project

To push your project to Wix's servers for hosting and releasing a version, run the release command and follow the prompts. This step also registers extensions in your app's configuration. Some extensions won't work until you've run release:

Copy

The CLI guides you through the process of releasing a new app version. An app version allows you to publish an app to the Wix App Market or install it on a site with a direct install URL. You can view your app versions in the app dashboard.

Learn more about app distribution.

Next steps

You now have a fully working app.

Use the following resources to continue building your app:

Did this help?