After developing and testing your Wix CLI headless project 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 instructions on creating a project, see Quick Start with the Wix CLI.
Using another framework? Wix doesn't build projects that aren't built with Astro, so there's no wix build step. See Build and Deploy with the CLI for other frameworks instead.
Before getting started, make sure that you have Node.js (v24.22.1 or higher).
Run the build command to build the assets for your project:
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:
This returns unique URLs linking to preview versions of your site and dashboard that you can share with others.
Important:
The preview command uploads your code but doesn't register all extensions in your project's configuration. Some extensions won't be recognized by Wix until you run release.
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 project's configuration, so some extensions won't work until you've run release:
Note: A release can include at most 5,000 static files.
Releasing pushes your project to Wix's servers and publishes your site. After releasing your project, the CLI provides the URL of your published site, and preview URLs for your project's site and dashboard.
Tip:
Releasing also clears your entire site cache, so visitors get the latest version. If you've deployed an update but still see outdated content, run wix release again to clear the cache.
You now have a fully working project.
Use the following resources to continue building your project:
Last updated: 22 October 2026