Getting Started with create-xtarter-app
create-xtarter-app scaffolds a new project from a curated template, installs its dependencies, and can initialize Git.
Quick start
Section titled “Quick start”npm create xtarter-app@latestpnpm create xtarter-app@latestyarn create xtarter-appbun create xtarter-app@latestThe CLI prompts for a project name, template, package manager, Git init, and CI/CD cleanup. Use --yes / -y to accept the defaults (pnpm, next-chakra, Git init, no cleanup); the project name prompt still appears unless you pass a positional name. Explicit flags such as --pm bun or --clean take priority.
npm create xtarter-app@latest -- my-app --yespnpm create xtarter-app@latest my-app --yesyarn create xtarter-app my-app --yesbun create xtarter-app@latest my-app --yesStep by step
Section titled “Step by step”-
Enter a project name
Section titled “Enter a project name”Names allow letters, numbers, hyphens, and underscores, up to 214 characters. You can pass the name as a positional argument instead:
Terminal window npm create xtarter-app@latest -- my-appTerminal window pnpm create xtarter-app@latest my-appTerminal window yarn create xtarter-app my-appTerminal window bun create xtarter-app@latest my-app -
Pick a template
Section titled “Pick a template”The picker lists the five templates:
next-chakra,next-tailwind,vite-chakra,vite-tailwind, andvite-hero. See Templates for details, or skip the prompt with--template/-t:Terminal window npm create xtarter-app@latest -- my-app --template vite-tailwindTerminal window pnpm create xtarter-app@latest my-app --template vite-tailwindTerminal window yarn create xtarter-app my-app --template vite-tailwindTerminal window bun create xtarter-app@latest my-app --template vite-tailwind -
Choose a package manager
Section titled “Choose a package manager”Choose pnpm (recommended), npm, bun, or yarn, or skip the prompt with
--pm/-p:Terminal window npm create xtarter-app@latest -- my-app --pm bunTerminal window pnpm create xtarter-app@latest my-app --pm bunTerminal window yarn create xtarter-app my-app --pm bunTerminal window bun create xtarter-app@latest my-app --pm bun -
Decide on git init
Section titled “Decide on git init”Git init is on by default and creates a repository with an initial commit. It requires
giton your system and is skipped automatically whengitis not installed; use--no-gitto skip it explicitly. -
Clean CI/CD configs (optional)
Section titled “Clean CI/CD configs (optional)”When enabled, it removes pre-configured CI/CD files such as GitHub Actions workflows,
.gitlab-ci.yml,.travis.yml, CircleCI, Vercel, Netlify, Railway, and Fly configs. Use--cleanto enable it directly. -
Wait for download and install
Section titled “Wait for download and install”The CLI downloads the template, updates the
package.jsonname, installs dependencies, and initializes Git when enabled. -
You’re ready
Section titled “You’re ready”The CLI prints the next commands (
cd <project>and<package-manager> dev) and the chosen template name.
When installation fails
Section titled “When installation fails”The CLI runs <package-manager> install after download. If installation fails, the process exits with an error and removes the target directory when the CLI created it. Files downloaded into an existing empty directory are kept, so you can run the install manually.
What gets modified after download
Section titled “What gets modified after download”package.jsonname - lowercased, with unsupported characters replaced by hyphens- Workspace references -
workspace:entries inpnpm.overridesare removed - CI/CD files - removed when
--cleanis enabled
Agent skills
Section titled “Agent skills”Install the create-xtarter-app skill to teach a compatible AI tool how to scaffold projects, pick a template from a stack description, and use the right flags. It covers the scaffold and preview commands, all flags, and the five template IDs. Install it through the skills.sh ecosystem:
npx skills@latest add agustinusnathaniel/xtarterpnpx skills@latest add agustinusnathaniel/xtarteryarn dlx skills@latest add agustinusnathaniel/xtarterbunx skills@latest add agustinusnathaniel/xtarterdeno x skills@latest add agustinusnathaniel/xtarternlx skills@latest add agustinusnathaniel/xtarterNext steps
Section titled “Next steps”- CLI reference - Commands, arguments, and flags
- Template catalog - Every template, plus
previewto inspect one before scaffolding - Keep in sync - Maintain configs after scaffolding