CLI Documentation Notice
You're viewing documentation for the new Wix CLI, which we recommend for all new projects.
After developing and testing your Wix CLI project locally, you can take it to production. This article guides you through that process.
For instructions on creating a project, see Quick Start a Headless Project, or Quick Start an App.
Before getting started, make sure that you have Node.js (v20.11.0 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, editor (for apps), and dashboard that you can share with others.
To push your project to Wix's servers for hosting and releasing a version, run the release command and follow the prompts.
You now have a fully working project.
Use the following resources to continue building your project: