Create a new TanStack Start project.
tanstack create [project-name] [options]
| Option | Description |
|---|---|
| --integrations <ids> | Comma-separated integration IDs |
| --template <url> | Template URL or local path |
| --package-manager <pm> | npm, pnpm, yarn, bun, deno |
| --no-tailwind | Skip Tailwind CSS |
| --no-git | Skip git init |
| --no-install | Skip dependency install |
| -y, --yes | Use defaults, skip prompts |
| --target-dir <path> | Custom output directory |
| --integrations-path <path> | Local integrations (dev) |
# Examples
tanstack create my-app -y
tanstack create my-app --integrations clerk,drizzle,tanstack-query
tanstack create my-app --template https://example.com/template.json
Create custom integrations from existing projects.
Extract integration from current project:
tanstack integration init
Creates .integration/ folder with info.json and assets/.
Rebuild after changes:
tanstack integration compile
See Creating Integrations for full guide.
Create reusable project presets.
tanstack template init
Creates template-info.json and template.json.
tanstack template compile
See Templates for full guide.
Start MCP server for AI agents.
tanstack mcp [options]
| Option | Description |
|---|---|
| --sse | HTTP/SSE mode (default: stdio) |
| --port <n> | SSE port (default: 8080) |
See MCP Server for setup.
Projects include .tanstack.json:
{
"version": 1,
"projectName": "my-app",
"framework": "react",
"mode": "file-router",
"typescript": true,
"tailwind": true,
"packageManager": "pnpm",
"chosenIntegrations": ["tanstack-query", "clerk"]
}
Used by integration init and template init to detect changes.