Create and manage TanStack Router and Start applications.
npx @tanstack/cli create my-app- TanStack Start - Full-stack SSR framework (default)
- TanStack Router - Type-safe routing (
--router-onlyfor SPA) - Add-ons - Auth, database, deployment, monitoring, and more
- CLI Introspection - Agent-friendly discovery via JSON CLI output
# Create TanStack Start app (recommended)
npx @tanstack/cli create my-app
# Create Router-only SPA (no SSR)
npx @tanstack/cli create my-app --router-only
# With add-ons
npx @tanstack/cli create my-app --add-ons clerk,drizzle,tanstack-query
# Add to existing project
npx @tanstack/cli add clerk drizzle
# List available add-ons
npx @tanstack/cli create --list-add-ons
# Agent-friendly introspection
npx @tanstack/cli create --addon-details tanstack-query --json
npx @tanstack/cli libraries --json
npx @tanstack/cli search-docs "loaders" --library router --framework react --jsonTanStack CLI sends anonymous usage telemetry by default.
- Sent: command usage, durations, selected framework/package manager/add-on ids, and coarse result metadata
- Never sent: project names, file paths, target directories, raw search queries, raw template URLs/paths, add-on config values, env vars, or raw error messages
- Disabled automatically in
CI, or whenDO_NOT_TRACK=1orTANSTACK_CLI_TELEMETRY_DISABLED=1
Manage it with:
tanstack telemetry status
tanstack telemetry disable
tanstack telemetry enable- TanStack Query - Async state & caching
- TanStack Router - Type-safe routing
- TanStack Start - Full-stack SSR
- TanStack Form - Type-safe forms
- TanStack Table - Headless datagrids
- TanStack Store - Reactive state
- TanStack Virtual - Virtualized rendering