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 using the Wix Dev Center. 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.
The 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 version is created using your local files, without pushing your app to the Dev Center.
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.