wix release

Releases your project. The command first uploads your build output to Wix's servers as a preview, and then releases your project from that preview. Releasing also publishes the project's site, and the CLI displays the site's URL once complete.

Notes:

  • This command uploads your project's build output, so you must run the build command after every change you want to release. In a project created with create init, the CLI has no build command, and this command uploads your build output from the directory set in site.outputDirectory.
  • A release can include at most 5,000 static files.

Tip: Releasing a headless site clears its entire cache, so visitors get the latest version. If you've released an update but still see outdated content, run wix release again to clear the cache.

Usage

Copy

Flags

The following flags are available for the wix release command:

FlagAliasDescription
--comment <comment>-c <comment>The comment for your release version, for your own reference. Up to 250 characters.
--version-type <type>-t <type>The type of version to create.

Accepted values for <type>: major, minor.

Last updated: 10 November 2026

Did this help?