Skip to content
Back to search

cli

The official TanStack CLI - Project Scaffolding, MCP Server, Agent Skills Installation, etc

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/TanStack/cli with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/TanStack/cli'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/tanstack--cli/badge.svg)](/listings/tanstack--cli)

HTML

<a href="/listings/tanstack--cli"><img src="/api/listings/tanstack--cli/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

# Create TanStack Start app (recommended)
npx @tanstack/cli create my-app

# Create a minimal one-route Start app without selection prompts
npx @tanstack/cli create my-app --blank -y

# 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

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 120 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. <div align="center">
  2. <picture>
  3. <source
  4. media="(prefers-color-scheme: dark)"
  5. srcset="https://tanstack.com/api/readme/cli.png?theme=dark"
  6. />
  7. <source
  8. media="(prefers-color-scheme: light)"
  9. srcset="https://tanstack.com/api/readme/cli.png"
  10. />
  11. <img
  12. src="https://tanstack.com/api/readme/cli.png"
  13. alt="TanStack CLI"
  14. width="900"
  15. />
  16. </picture>
  17. </div>
  18. <div align="center">
  19. <a href="https://www.npmjs.com/package/@tanstack/cli" target="_parent">
  20. <img alt="" src="https://img.shields.io/npm/dm/@tanstack/cli.svg" />
  21. </a>
  22. <a href="https://github.com/TanStack/cli/stargazers" target="_parent">
  23. <img alt="" src="https://img.shields.io/github/stars/TanStack/cli.svg?style=social&label=Star" />
  24. </a>
  25. <a href="https://twitter.com/tan_stack"><img src="https://img.shields.io/twitter/follow/tan_stack.svg?style=social" /></a>
  26. </div>
  27. <div align="center">
  28. ### [Become a Sponsor!](https://github.com/sponsors/tannerlinsley/)
  29. </div>
  30. # TanStack CLI
  31. Create and manage TanStack Router and Start applications.
  32. ```bash
  33. npx @tanstack/cli create my-app
  34. ```
  35. ## Features
  36. - **TanStack Start** - Full-stack SSR framework (default)
  37. - **TanStack Router** - Type-safe routing (`--router-only` for SPA)
  38. - **Vite or Rsbuild** - Choose the build tool for React and Solid projects
  39. - **Add-ons** - Auth, database, deployment, monitoring, and more
  40. - **CLI Introspection** - Agent-friendly discovery via JSON CLI output
  41. ## Quick Start
  42. ```bash
  43. # Create TanStack Start app (recommended)
  44. npx @tanstack/cli create my-app
  45. # Create a minimal one-route Start app without selection prompts
  46. npx @tanstack/cli create my-app --blank -y
  47. # Create Router-only SPA (no SSR)
  48. npx @tanstack/cli create my-app --router-only
  49. # Create with Rsbuild
  50. npx @tanstack/cli create my-app --build-tool rsbuild -y
  51. # With add-ons
  52. npx @tanstack/cli create my-app --add-ons clerk,drizzle,tanstack-query
  53. # Add to existing project
  54. npx @tanstack/cli add clerk drizzle
  55. # List available add-ons
  56. npx @tanstack/cli create --list-add-ons
  57. # Agent-friendly introspection
  58. npx @tanstack/cli create --addon-details tanstack-query --json
  59. npx @tanstack/cli libraries --json
  60. npx @tanstack/cli search-docs "loaders" --library router --framework react --json
  61. ```
  62. ## Documentation
  63. - [CLI Reference](https://tanstack.com/cli/latest/docs/cli-reference)
  64. - [TanStack Start](https://tanstack.com/start)
  65. - [TanStack Router](https://tanstack.com/router)
  66. ## Telemetry
  67. TanStack CLI sends anonymous usage telemetry by default.
  68. - Sent: command usage, durations, selected framework/build tool/package manager/add-on ids, and coarse result metadata
  69. - 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
  70. - Disabled automatically in `CI`, or when `DO_NOT_TRACK=1` or `TANSTACK_CLI_TELEMETRY_DISABLED=1`
  71. Manage it with:
  72. ```bash
  73. tanstack telemetry status
  74. tanstack telemetry disable
  75. tanstack telemetry enable
  76. ```
  77. ## Get Involved
  78. - [GitHub Issues](https://github.com/TanStack/cli/issues)
  79. - [GitHub Discussions](https://github.com/TanStack/cli/discussions)
  80. - [Discord](https://discord.com/invite/WrRKjPJ)
  81. - [Contributing Guide](./CONTRIBUTING.md)
  82. ## TanStack Ecosystem
  83. - [TanStack Query](https://github.com/tanstack/query) - Async state & caching
  84. - [TanStack Router](https://github.com/tanstack/router) - Type-safe routing
  85. - [TanStack Start](https://github.com/tanstack/router) - Full-stack SSR
  86. - [TanStack Form](https://github.com/tanstack/form) - Type-safe forms
  87. - [TanStack Table](https://github.com/tanstack/table) - Headless datagrids
  88. - [TanStack Store](https://github.com/tanstack/store) - Reactive state
  89. - [TanStack Virtual](https://github.com/tanstack/virtual) - Virtualized rendering
  90. [More at TanStack.com](https://tanstack.com)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.