Deprecated
The Legacy Wix CLI for Apps is deprecated and no longer receives updates or new features. New projects should use the Wix CLI for Apps.
Creates an online preview of your built app and provides an inline link to an app preview URL in the console.
An app preview URL is a URL you can share with team members who are collaborators on your development site. It directs to a dashboard page where they can preview and test your app.
By default, the code for your app preview is hosted on Wix's servers.
The following flags are available for the wix app preview command:
| Flag | Alias | Description |
|---|---|---|
--site <site-id> | -s <site-id> | Sets the site used for app preview URLs. If you don't provide this flag, the site ID defaults to the currently selected development site. You can get the ID of a site from the site URL in your browser. For example, the site ID appears after the /dashboard/ part of this URL:![]() |
--base-url <url> | Sets the base URL for uploading your static files to an external CDN. If you don't provide this flag, the code for your preview is hosted on Wix's servers. |
Last updated: 10 November 2026