# Versions (/docs/cli/versions)

Each CLI release is tested against one specific Starter release. The current one is (the [release process](https://starter.clubedge.live/release-process) shows what CI runs before a version publishes):

```text
create-clubedge-app v0.49.1
        |
        v
Clubedge Starter v0.32.0
commit ff2f60ac8ae2812f2df7001afc7eae0bb53324f6
```

The same CLI version always scaffolds the same Starter revision by default. The CLI does not silently follow Starter `main`.

The pinned tag is expected to resolve to the pinned commit. The CLI verifies this before scaffolding with the default reference and fails rather than silently using a moved tag.

To see which Starter release a CLI version creates, check the CLI's [releases](https://github.com/Clubedge/create-clubedge-app/releases) or run `pnpm clubedge status` inside a project.

## Reproduce a project [#reproduce-a-project]

Every generated project records its CLI version, Starter repository, Starter ref, Starter commit, framework, and modules in `package.json` and `README.md`. To create the same project again, run that CLI version, or pass the ref:

```npm
npx @clubedge/create-clubedge-app@0.49.1 my-app
npx @clubedge/create-clubedge-app my-app --ref v0.32.0
npx @clubedge/create-clubedge-app my-app --ref <commit-sha>
```

A newer Starter can need a newer CLI: FastAPI projects from Starter v0.26.0 on need CLI 0.40.0 or newer, Starter v0.27.0 needs CLI 0.42.0 or newer, which reads its template schema 5, and Starter v0.28.0 needs CLI 0.44.0 or newer, which reads its template schema 6. An older CLI refuses it and asks you to update.

## How releases move [#how-releases-move]

When the Starter changes, its maintainers first publish a new versioned release. The CLI is then updated to use that release, all generated-project checks must pass, and a new CLI version is published. This keeps Starter and CLI releases independently versioned while preserving a tested compatibility relationship.

In CI, the CLI is packed with `npm pack`, and clean projects are scaffolded from the packed tarball. Each one installs its dependencies, runs linting, typechecking, unit tests, browser checks, and a production build, then starts and checks the landing page, sign-up page, dashboard, health endpoint, logo, and favicon. CI also adds and removes modules in an existing project and upgrades a project from an older Starter. A scheduled, non-blocking job checks Starter `main` early, but unreleased Starter changes never change the stable CLI default.
