CLI Options
Complete reference for CLI flags and non-interactive mode
The CLI supports flags for non-interactive automation and reproducibility. Use flags to skip prompts and create projects with predefined configurations.
Non-Interactive Mode
Pass flags to create a project without interactive prompts:
bunx create-faster my-project [options]You can combine flags with prompts for a hybrid approach: provide known values via flags and let the CLI prompt for the rest.
Available Flags
Project Name (Positional)
bunx create-faster <project-name>The first argument specifies the project name. If omitted, the CLI prompts for it.
Example:
bunx create-faster my-saas--app <name:stack:modules>
Define an application to create. Repeatable for multi-app projects.
Format: name:stack or name:stack:module1,module2
Examples:
--app web:nextjs
--app web:nextjs:shadcn,tanstack-query
--app mobile:expo:nativewind
--app api:honoUse multiple --app flags for multi-app monorepos:
bunx create-faster my-saas \
--app web:nextjs:shadcn,mdx \
--app mobile:expo:nativewind \
--app api:hono--database <provider>
Select a database provider.
Options: postgres, mysql
Example:
--database postgres--orm <provider>
Select an ORM. Requires --database to be specified.
Options: prisma, drizzle
Example:
--database postgres --orm drizzle--git
Initialize a Git repository after generation.
Example:
--git--pm <manager>
Select a package manager for dependency installation.
Options: bun, npm, pnpm
Example:
--pm bunIf omitted, the CLI prompts for installation preferences.
--extras <items>
Add development tools as a comma-separated list.
Options: biome, husky
Example:
--extras biome,huskyNote: husky requires --git to be specified.
Dependency Rules
The CLI validates flag combinations to ensure compatibility:
ORM requires Database:
# ❌ Invalid - ORM without database
bunx create-faster myapp --orm drizzle
# ✓ Valid
bunx create-faster myapp --database postgres --orm drizzleHusky requires Git:
# ❌ Invalid - Husky without git
bunx create-faster myapp --extras husky
# ✓ Valid
bunx create-faster myapp --git --extras huskyUnique app names (multi-app only):
# ❌ Invalid - Duplicate app names
bunx create-faster myapp --app web:nextjs --app web:expo
# ✓ Valid
bunx create-faster myapp --app web:nextjs --app mobile:expoComplete Examples
Single Next.js App with Modules
bunx create-faster my-app \
--app my-app:nextjs:shadcn,better-auth,tanstack-query \
--database postgres \
--orm drizzle \
--git \
--pm bun \
--extras biome,huskynpx create-faster my-app \
--app my-app:nextjs:shadcn,better-auth,tanstack-query \
--database postgres \
--orm drizzle \
--git \
--pm npm \
--extras biome,huskypnpm dlx create-faster my-app \
--app my-app:nextjs:shadcn,better-auth,tanstack-query \
--database postgres \
--orm drizzle \
--git \
--pm pnpm \
--extras biome,huskyMulti-App SaaS with Turborepo
bunx create-faster my-saas \
--app web:nextjs:shadcn,next-themes,better-auth,tanstack-query \
--app mobile:expo:nativewind \
--app api:hono \
--database postgres \
--orm drizzle \
--git \
--pm bun \
--extras biome,huskyThis creates:
- Next.js web app with UI, theming, authentication, and data fetching
- Expo mobile app with Tailwind-like styling
- Hono API server
- Shared database package with Drizzle ORM
- Automatic Turborepo configuration
- Git repository with pre-commit hooks
- Dependencies installed via bun
Minimal Setup
bunx create-faster my-app \
--app my-app:nextjs \
--pm bunCreates a basic Next.js app with no modules, no database, and automatic dependency installation.
Mixed Interactive Mode
Provide partial flags and let the CLI prompt for missing options:
bunx create-faster my-saas \
--app web:nextjs:shadcn \
--database postgresThis pre-fills the project with a Next.js app and PostgreSQL, then prompts for:
- ORM selection
- Git initialization
- Extras
- Package manager
Auto-Generated Command
After project generation, create-faster displays a copy-paste ready command reflecting your exact configuration:
┌ Recreate this project
│
│ create-faster my-saas \
│ --app web:nextjs:shadcn,better-auth,tanstack-query \
│ --app mobile:expo:nativewind \
│ --app api:hono \
│ --database postgres \
│ --orm drizzle \
│ --git \
│ --pm bun \
│ --extras biome,husky
│
└This command is useful for:
- Sharing configurations with team members
- Documentation and onboarding
- Reproducing exact setups for testing
- Creating similar projects with variations
Getting Help
Display all available options and examples:
bunx create-faster --helpThe help output includes:
- Usage syntax
- Complete flag reference
- Practical examples for single and multi-app projects
- Available stacks, databases, and ORMs

