About the Wix CLI for Apps

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 also join our community of Wix App developers on our Discord server.

Familiar, streamlined development

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:

  • Define extensions with the Wix look and feel using TypeScript, React components, and the Wix Design System.
  • Use Javascript SDKs to call Wix APIs as a simpler alternative to REST.
  • Host your app on Wix's servers by default.
  • Make calls on the client side that you could only normally do on the backend. This simplifies your code, removes the need for authentication, and in some cases, removes the need for your own backend.

Local preview

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.

Easier and richer extensions

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.

Get started

  • To get up and running as quickly as possible, check out our Quick Start article.
  • To see how to build a fully functioning example app, check out our Example App Walkthrough.
  • To see fully functioning examples of different kinds of CLI apps, visit our example templates page.
Was this helpful?
Yes
No