Usage

CLI Reference

tanstack create

Create a new TanStack Start project.

sh
tanstack create [project-name] [options]
OptionDescription
--integrations <ids>Comma-separated integration IDs
--template <url>Template URL or local path
--package-manager <pm>npm, pnpm, yarn, bun, deno
--no-tailwindSkip Tailwind CSS
--no-gitSkip git init
--no-installSkip dependency install
-y, --yesUse defaults, skip prompts
--target-dir <path>Custom output directory
--integrations-path <path>Local integrations (dev)
sh
# 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

tanstack integration

Create custom integrations from existing projects.

init

Extract integration from current project:

sh
tanstack integration init

Creates .integration/ folder with info.json and assets/.

compile

Rebuild after changes:

sh
tanstack integration compile

See Creating Integrations for full guide.


tanstack template

Create reusable project presets.

init

sh
tanstack template init

Creates template-info.json and template.json.

compile

sh
tanstack template compile

See Templates for full guide.


tanstack mcp

Start MCP server for AI agents.

sh
tanstack mcp [options]
OptionDescription
--sseHTTP/SSE mode (default: stdio)
--port <n>SSE port (default: 8080)

See MCP Server for setup.


Configuration

Projects include .tanstack.json:

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.