CLI
CLI Options
Comprehensive guide to all JS-Stack CLI command-line options, flags, and arguments for customizing project generation.
CLI Options Reference
Complete reference for all available CLI options. See Commands Reference for usage examples.
Frontend Options
--frontend <framework1,framework2,...>Available frameworks:
tanstack-router- TanStack Router (React)react-router- React Routertanstack-start- TanStack Start (full-stack)next- Next.js (full-stack)nuxt- Nuxt 3 (full-stack)sveltekit- SvelteKit (full-stack)remix- Remix (full-stack)astro- Astro (content-focused)vue- Vue.js 3angular- Angular 17+qwik- Qwik (resumable)native-nativewind- React Native with NativeWindnative-unistyles- React Native with Unistylessvelte- Svelte 5solid- SolidJSnone- No frontend
Multiple frontends: Use comma-separated values for monorepo setups.
Backend Options
--backend <framework>Available frameworks:
hono- Hono (ultra-fast, edge-ready)express- Express.jsfastify- Fastify (high performance)nest- NestJS (enterprise)koa- Koa.jsnext- Next.js API routeselysia- Elysia (Bun-first)convex- Convex (BaaS)none- No backend
Runtime Options
--runtime <runtime>Available runtimes:
node- Node.js (default)bun- Bun runtimedeno- Deno runtimeworkers- Cloudflare Workersnone- No specific runtime
Database Options
--database <database>Available databases:
postgres- PostgreSQLmysql- MySQLsqlite- SQLitemongodb- MongoDBnone- No database
ORM Options
--orm <orm>Available ORMs:
drizzle- Drizzle ORMprisma- Prismamongoose- Mongoose (MongoDB only)typeorm- TypeORMmikro-orm- MikroORMnone- No ORM
API Options
--api <style>Available API styles:
trpc- tRPC (type-safe)orpc- ORPC (lightweight)graphql- GraphQLrest- REST APInone- No API layer
Authentication Options
--auth <method>Available methods:
better-auth- Better Authclerk- Clerknext-auth- NextAuth.jslucia- Luciakinde- Kindenone- No authentication
Addons Options
--addons <addon1,addon2,...>Available addons:
docker- Docker configurationtesting- Testing setupbiome- Biome linter/formatterturborepo- Turborepo monorepopwa- Progressive Web Apptauri- Tauri desktophusky- Git hooksvitest- Vitest test runnerplaywright- Playwright E2Ecypress- Cypress E2Estorybook- Storybookchangesets- Changesets
Examples Options
--examples <example1,example2,...>Available examples:
todo- Todo listai- AI integrationdashboard- Dashboardauth- Authenticationapi- API examplenone- No examples
Package Manager Options
--package-manager <manager>Available managers:
npm- npm (default)pnpm- pnpmbun- bun
Database Setup Options
--db-setup <setup>Available setups:
turso- Tursoneon- Neondocker-compose- Docker Composesupabase- Supabasenone- No setup
Deployment Options
Web Deployment
--web-deploy <platform>Available platforms:
cloudflare-pages- Cloudflare Pagesalchemy- Alchemynone- No config
Server Deployment
--server-deploy <platform>Available platforms:
cloudflare-workers- Cloudflare Workersalchemy- Alchemynone- No config
Other Options
Git
--git # Initialize git repository
--no-git # Skip git initializationInstall
--install # Install dependencies automatically
--no-install # Skip dependency installationQuick Start
--yes # Skip prompts, use defaultsPreview
--dry-run # Preview without creating files
--verbose # Show detailed outputDirectory Conflict
--directory-conflict <strategy>Strategies:
error- Throw error (default)merge- Merge with existingoverwrite- Overwrite existingincrement- Create with incremented name