The Wix CLI for Apps is a tool for building Wix Apps using commands in the terminal. It's a more streamlined alternative to building apps solely in the app dashboard. It allows you to focus on your own business logic without having to think about how to integrate your app into the Wix dev platform. The Wix CLI for Apps is the same tool that Wix's own developers use to create Wix Apps.
Note: We're actively working on improving the CLI, adding features, and providing comprehensive documentation. Help us improve the CLI by providing feedback and suggestions. You can schedule a feedback session with a member of our team or join our community of Wix App developers on our Discord server.
The CLI provides you with a familiar developer experience including all the tooling and building blocks needed to create powerful apps, with minimal setup and configuration.
It allows you to:
The CLI provides a local development environment for previewing your app as you develop it. It allows you to open the different parts of your app on a development site in your browser, and see how your local code integrates with the Wix ecosystem.
Development sites are premium sites provided by Wix where you can test your app during development. These sites offer more functionality than standard Wix sites and more flexibility for testing your app's functionality. You can have up to five development sites at a time. Development sites are owned by Wix and intended solely for app testing.
The local preview environment is set up for hot reloading, so any changes you make to your code are immediately reflected in the browser.
You can also make a preview version of your app to share with your teammates. This preview version is created using your local files, without creating an app version in the app dashboard.
The CLI's generate command makes adding extensions to your app easier, faster, and more structured.
Some extensions have a much richer experience in the CLI. For example, the embedded script extension has more placement options, and the option to override dynamic parameter values in testing.
Note: Some extensions are not yet supported in the CLI. Check our list of supported extensions to see which ones are available.