Usage Guide
Scaffolding a project
Section titled “Scaffolding a project”-
Start the wizard
Section titled “Start the wizard”Terminal window pnpm create xtarter-appYou’ll see a banner and the first prompt.
-
Enter a project name
Section titled “Enter a project name”The first prompt asks for your project name:
┌ Project name:└ my-new-app- Must be alphanumeric plus hyphens and underscores (
my-app_v2) - Maximum 214 characters
- You can also pass it as a positional argument:
pnpm create xtarter-app my-app
- Must be alphanumeric plus hyphens and underscores (
-
Pick a template
Section titled “Pick a template”Choose from the available templates:
┌ Select a template:│ ● Next.js + Chakra UI│ ○ Next.js + Tailwind│ ○ Vite + React + Chakra│ ○ Vite + React + Tailwind│ ○ Vite + React + Hero UI└Use
--template/-tto skip the prompt:Terminal window pnpm create xtarter-app my-app --template vite-tailwind -
Choose a package manager
Section titled “Choose a package manager”┌ Select a package manager:│ ● pnpm (recommended)│ ○ npm│ ○ bun│ ○ yarn└Use
--pm/-pto skip:Terminal window pnpm create xtarter-app my-app --pm bun -
Decide on git init
Section titled “Decide on git init”┌ Initialize a git repository?└ Yes / No- Creates a
.gitrepo with an initial commit ("Initial commit from create-xtarter-app") - Requires
gitto be installed on your system - Use
--no-gitto skip
- Creates a
-
Clean CI/CD configs (optional)
Section titled “Clean CI/CD configs (optional)”┌ Remove CI/CD configurations (GitHub Actions, Vercel, etc.)?└ Yes / NoWhen enabled, removes:
.github/directory and all workflow files.gitlab-ci.yml,.travis.yml,.circleci/vercel.json,netlify.toml,.netlify/railway.toml,.railway/,fly.toml,.fly/
Use
--cleanto enable it directly. -
Wait for download and install
Section titled “Wait for download and install”The CLI downloads the template via tarball (no git clone required), modifies the
package.jsonname, installs dependencies, and initializes git (if enabled). -
You’re ready
Section titled “You’re ready”┌ Success! Project created at /path/to/my-app││ Next steps:│ cd my-app│ pnpm dev││ Template: Vite + React + Tailwind└
Preview a template before scaffolding
Section titled “Preview a template before scaffolding”Use --preview / -P to see a template’s details without scaffolding:
pnpm create xtarter-app --preview# or specify a template directlypnpm create xtarter-app --preview --template vite-tailwindThis shows the template’s name, description, repository, and feature list.
Use defaults mode
Section titled “Use defaults mode”Skip all prompts with --yes / -y:
pnpm create xtarter-app my-app --yesThis uses: pnpm, git init enabled, CI/CD cleanup disabled.
Skipping git initialization
Section titled “Skipping git initialization”If you don’t want a git repo initialized during scaffolding:
pnpm create xtarter-app my-app --no-gitThe CLI checks if git is installed. If not, git init is skipped automatically.
Package manager installation
Section titled “Package manager installation”The CLI runs <package-manager> install after downloading. If the install fails
(e.g., network issues), the process exits with an error. The template files are
still downloaded — you can run the install manually.
What’s modified after download
Section titled “What’s modified after download”package.jsonname — updated to your project name (lowercased, special chars stripped)- Workspace references — any
workspace:*entries inpnpm.overridesare removed - CI/CD files — removed if
--cleanis enabled