CLI Reference
All commands and options for create-turbo-stack
Scaffold a new project.
npx create-turbo-stack [project-name] [options]
| Argument | Description |
|---|
project-name | Project directory name (prompted if omitted) |
| Option | Description |
|---|
--preset <url> | Use a preset URL or file path |
--yes | Accept all defaults (not yet implemented) |
-V, --version | Output version number |
-h, --help | Display help |
# Interactive mode
npx create-turbo-stack
# With project name
npx create-turbo-stack my-project
# From preset
npx create-turbo-stack --preset https://create-turbo-stack.dev/s/saas-starter.json
npx create-turbo-stack --preset minimal
Add apps, packages, or integrations to an existing project.
npx create-turbo-stack add <type>
| Type | Description | Status |
|---|
app | Add a new app | Planned (Phase 2) |
package | Add a new package | Planned (Phase 2) |
integration | Add a cross-cutting integration | Planned (Phase 3) |
dependency | Add a dependency via catalog | Planned (Phase 3) |
When you run create, the CLI generates:
| File | Description |
|---|
package.json | Workspaces + catalog dependencies |
turbo.json | Task pipeline |
biome.json | Linter/formatter config (if biome selected) |
.turbo-stack.json | CLI config tracking your selections |
.gitignore | Standard ignores |
.npmrc | auto-install-peers=true |
.env.example | All required env vars with examples |
| File | Description |
|---|
package.json | catalog: deps + workspace:* refs |
tsconfig.json | Extends @scope/typescript-config |
globals.css | Tailwind + @source directives |
layout.tsx | Root layout |
page.tsx | Home page |
| File | Description |
|---|
package.json | Exports map + catalog: deps |
tsconfig.json | Extends base config |
src/index.ts | Entry point |