Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
83 lines (60 loc) · 2.59 KB

File metadata and controls

83 lines (60 loc) · 2.59 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

TanStack CLI

TanStack CLI

Create and manage TanStack Router and Start applications.

npx @tanstack/cli create my-app

Features

  • TanStack Start - Full-stack SSR framework (default)
  • TanStack Router - Type-safe routing (--router-only for SPA)
  • Add-ons - Auth, database, deployment, monitoring, and more
  • CLI Introspection - Agent-friendly discovery via JSON CLI output

Quick Start

# 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

Documentation

Get Involved

TanStack Ecosystem

More at TanStack.com

Morty Proxy This is a proxified and sanitized view of the page, visit original site.