Create and manage TanStack Router and Start applications.
npx @tanstack/cli create my-app
--router-only for SPA)# 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 --json
TanStack CLI sends anonymous usage telemetry by default.
CI, or when DO_NOT_TRACK=1 or TANSTACK_CLI_TELEMETRY_DISABLED=1Manage it with:
tanstack telemetry status
tanstack telemetry disable
tanstack telemetry enable