create-strapi-launchpad
| Install | |
|---|---|
npm install create-strapi-launchpad |
|
| Latest Version: | 0.1.1 |
| License: | MIT |
| Last Updated: | Sep 9, 2026 |
| Links: | npm |
create-strapi-launchpad
Scaffold LaunchPad, Strapi's official demo application, with the frontend you want to work in.
npx create-strapi-launchpad my-app
That clones LaunchPad, installs it, seeds the demo content, and starts the
dev servers. With no --framework it asks which frontend to run.
Frontends
LaunchPad ships four frontends against one Strapi backend.
| Frontend | Flag | Port |
|---|---|---|
| Next.js | --framework next (default) |
3000 |
| Nuxt 4 | --framework nuxt |
3001 |
| TanStack Start | --framework tanstack |
3002 |
| Astro | --framework astro |
4321 |
Strapi runs on 1337 for all of them.
npx create-strapi-launchpad my-app --framework astro
Options
| Option | Description |
|---|---|
-f, --framework <name> |
Frontend to run. Prompts if omitted. |
-r, --ref <ref> |
Branch or tag of the LaunchPad repo to clone. |
--no-seed |
Skip seeding the demo content. |
--no-start |
Set everything up, but do not start the dev servers. |
--no-git |
Do not initialize a git repository. |
--dry-run |
Print what would happen and exit. |
Requirements
- Node.js 20.19 or newer
- Git
Yarn is required. Every LaunchPad directory ships a yarn.lock and its
scripts call yarn directly, so that is what the CLI drives. If yarn is
missing, the CLI enables it through Corepack for you.
What it does
- Clones LaunchPad (shallow) and removes its history
- Initializes a fresh git repository with one commit
yarn install && yarn setup— installs every workspace and writes.envfilesyarn seed— imports the demo content into SQLiteyarn dev(ordev:astro,dev:nuxt,dev:tanstack)
Use --dry-run to see the plan for any combination of flags without touching
the disk.
Development
npm install
npm test
node ./bin/cli.js my-app --dry-run
Frontends are declared in one place, src/frameworks.js.
It has to be a separate copy, because the CLI runs before the repo is cloned.
That copy can drift, and when it does the CLI checks the wrong port or calls a
dev script that does not exist. test/registry-matches-launchpad.test.js
reads the real sources — ../scripts/frontends.mts, the root package.json
scripts and the frontend directories — and fails if they disagree.
That test is why this package lives in the LaunchPad repo rather than its own.
Run it from the repo root with yarn test:cli.
License
MIT
Related Packages
CLI for scaffolding full-stack DashboardStack projects with Next.js, Nuxt, and T...
CLI for scaffolding a Nuxt 3 or Nuxt 4 project with ESLint configured out of the...
Version History
| Version | Released | License |
|---|---|---|
| 0.1.1 | MIT | |
| 0.1.0 | MIT |