New:New releases:CLIcreate-clubedge-app v0.49.1·Clubedge Starter v0.32.0

Clubedge Starter Docs

Command reference

Every command and flag of create-clubedge-app.

Usage:
  pnpm dlx @clubedge/create-clubedge-app [project-directory] [options]
  pnpm dlx @clubedge/create-clubedge-app add [module option]...  (inside a project)
  pnpm dlx @clubedge/create-clubedge-app remove [module]...      (inside a project)
  pnpm dlx @clubedge/create-clubedge-app upgrade [--ref <tag>]   (inside a project)
  pnpm dlx @clubedge/create-clubedge-app status                  (inside a project)
  pnpm dlx @clubedge/create-clubedge-app doctor                  (inside a project)
  pnpm dlx @clubedge/create-clubedge-app try [options]           (experimental)
  pnpm dlx @clubedge/create-clubedge-app deploy [options]        (inside a project)
  pnpm dlx @clubedge/create-clubedge-app neon [claim|create]     (--infra neon)

Inside a project, pnpm clubedge <command> runs the same commands: add, remove, upgrade, status, doctor, try, deploy, and neon.

Commands

CommandWhat it does
(none)Create a project in project-directory.
add [module option]...Add a module or switch its option, or, from CLI 0.46.0, add an app: add mobile expo, add shell capacitor. Change a project
remove [module]...Remove one or more modules, or, from CLI 0.46.0, apps: remove mobile, remove shell. Change a project
upgrade [--ref <ref>]Move the project to a newer Starter release. Change a project
statusShow the project's Starter release, modules, and Git state. Check a project
doctor [--no-services]Check that the project can run. Check a project
try (experimental)Run a new project on a free, temporary Railway VM; inside a project, upload and run that project. Try on a Railway VM
neon [claim|create]The free Neon database of a project with --infra neon: neon shows its status and hours left, neon claim keeps it, neon create makes a new one. A database on Neon
deploy [options]Deploy the project to Railway, or Fly.io, Vercel, Netlify, or Render (experimental): databases, variables, and the release. With --deploy docker, write Docker Compose behind Caddy for a server of your own, and a workflow that publishes the images (CLI 0.42.0 or newer). --preview deploys the current Git branch. A frontend and its API get two Railway services, or two Compose services, and a project without a website its API alone, on Railway or with Docker Compose (CLI 0.44.0 or newer). Deploy with one command

Options

OptionDescription
--framework <id>App framework: next (default) or tanstack-start, or vite, a frontend that needs --api, or none, no website: the API alone (CLI 0.44.0 or newer). A frontend and its API, Without a website
--api <id>A separate API: hono or fastapi. Required with vite and none; a full-stack framework takes none (none, the default).
--mobile <id>A native mobile app that calls the API: expo (CLI 0.44.0 or newer), with --api and --framework vite or none. Next.js and TanStack Start take none (none, the default). add mobile expo adds it to a project later (CLI 0.46.0 or newer). The native app
--shell <id>A mobile app that packages a frontend: capacitor (CLI 0.42.0 or newer), with --framework vite and its --api. Next.js and TanStack Start take none (none, the default). add shell capacitor adds it to a project later (CLI 0.46.0 or newer). The mobile app
--<module> <option>A module option, such as --auth none. The Starter lists its modules.
--ref <ref>Download this Starter tag, branch, or commit from GitHub instead. With upgrade: the Starter to upgrade to. Not with add or remove.
--template-dir <path>Scaffold from a local Starter checkout (for Starter development). With add and remove: render the project's own Starter from this checkout. With upgrade: the Starter to upgrade to. Not with try.
--dry-runShow what would be created or changed without writing anything.
--forceadd, remove, upgrade: change a project with uncommitted changes or without Git.
--detailed-exit-codeadd, remove, upgrade (CLI 0.41.0 or newer): exit with 2 when the change leaves conflicts to resolve, 0 when it was clean or there was nothing to change, and 1 when it failed. Without it, a change with conflicts exits with 0.
--env-file <path>deploy: production values for the service. Default: .env.production when there is one.
--previewdeploy (Vercel, Railway): a preview of the current Git branch, with its own Neon branch when NEON_API_KEY and NEON_PROJECT_ID are set. A web app only: not a frontend and its API, nor a project without a website. Preview deployments
--no-neon--infra neon: don't create a Neon database; set DATABASE_URL yourself.
--no-servicesdoctor: skip pnpm check:services.
--no-opentry, deploy (Vercel, Netlify, Render, and --preview), neon claim: don't open the URL in the browser.
--claimtry: open the page that claims the VM, which makes the preview shareable.
--statustry: the last VM's preview, time left, and claim link, without creating a VM.
-y, --yesAccept defaults and never prompt (default directory: my-app).
--no-installSkip dependency installation.
--no-gitSkip Git repository initialization.
-h, --helpShow the help.
-v, --versionShow the CLI version.

How is this guide?

On this page