Create a new VergeKit app.
npm create vergekit@latest my-appCloudflare Workers + D1 remains the default. Select a preset explicitly with either supported flag form:
npm create vergekit@latest my-app -- --preset node-mysql
npm create vergekit@latest my-app -- --preset=node-mysqlUse the current directory:
npm create vergekit@latest .- Downloads a tagged
vergekit/vergekitrelease from GitHub. - Uses the latest GitHub release for
npm create vergekit@latest. - Uses matching tag
vX.Y.Zwhen you installcreate-vergekit@X.Y.Z. - Applies and validates the selected preset in a temporary staging directory.
- Updates the generated app's package and lockfile root names from the target folder.
- Copies the staged project into the target only after composition succeeds.
- Prints the next setup commands.
The target directory must be empty, except for common metadata files such as
.git, .gitkeep, .DS_Store, and Thumbs.db.
npm install
npm testRun the CLI locally:
node ./bin/create-vergekit.js my-appCheck the npm package contents before publishing:
npm pack --dry-run