Open History to see the last commit
1<div align="center">
2 <h1>TanStack CLI</h1>
3</div>
4
5<div align="center">
6<a href="https://www.npmjs.com/package/@tanstack/cli" target="_parent">
7 <img alt="" src="https://img.shields.io/npm/dm/@tanstack/cli.svg" />
8</a>
9<a href="https://github.com/TanStack/cli/stargazers" target="_parent">
10 <img alt="" src="https://img.shields.io/github/stars/TanStack/cli.svg?style=social&label=Star" />
11</a>
12<a href="https://twitter.com/tan_stack"><img src="https://img.shields.io/twitter/follow/tan_stack.svg?style=social" /></a>
13</div>
14
15<div align="center">
16
17### [Become a Sponsor!](https://github.com/sponsors/tannerlinsley/)
18
19</div>
20
21# TanStack CLI
22
23Create and manage TanStack Router and Start applications.
24
25```bash
26npx @tanstack/cli create my-app
27```
28
29## Features
30
31- **TanStack Start** - Full-stack SSR framework (default)
32- **TanStack Router** - Type-safe routing (`--router-only` for SPA)
33- **Add-ons** - Auth, database, deployment, monitoring, and more
34- **MCP Server** - AI-assisted development
35
36## Quick Start
37
38```bash
39# Create TanStack Start app (recommended)
40npx @tanstack/cli create my-app
41
42# Create Router-only SPA (no SSR)
43npx @tanstack/cli create my-app --router-only
44
45# With add-ons
46npx @tanstack/cli create my-app --add-ons clerk,drizzle,tanstack-query
47
48# Add to existing project
49npx @tanstack/cli add clerk drizzle
50
51# List available add-ons
52npx @tanstack/cli create --list-add-ons
53```
54
55## Documentation
56
57- [CLI Reference](https://tanstack.com/start/latest/docs/framework/react/quick-start)
58- [TanStack Start](https://tanstack.com/start)
59- [TanStack Router](https://tanstack.com/router)
60
61## Get Involved
62
63- [GitHub Issues](https://github.com/TanStack/cli/issues)
64- [GitHub Discussions](https://github.com/TanStack/cli/discussions)
65- [Discord](https://discord.com/invite/WrRKjPJ)
66- [Contributing Guide](./CONTRIBUTING.md)
67
68## TanStack Ecosystem
69
70- [TanStack Query](https://github.com/tanstack/query) - Async state & caching
71- [TanStack Router](https://github.com/tanstack/router) - Type-safe routing
72- [TanStack Start](https://github.com/tanstack/router) - Full-stack SSR
73- [TanStack Form](https://github.com/tanstack/form) - Type-safe forms
74- [TanStack Table](https://github.com/tanstack/table) - Headless datagrids
75- [TanStack Store](https://github.com/tanstack/store) - Reactive state
76- [TanStack Virtual](https://github.com/tanstack/virtual) - Virtualized rendering
77
78[More at TanStack.com](https://tanstack.com)