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.
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
Markdown
[](/listings/tanstack--cli)HTML
<a href="/listings/tanstack--cli"><img src="/api/listings/tanstack--cli/badge.svg" alt="findsafeskills safety rating" /></a>Install
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.
- <div align="center">
- <picture>
- <source
- media="(prefers-color-scheme: dark)"
- srcset="https://tanstack.com/api/readme/cli.png?theme=dark"
- />
- <source
- media="(prefers-color-scheme: light)"
- srcset="https://tanstack.com/api/readme/cli.png"
- />
- <img
- src="https://tanstack.com/api/readme/cli.png"
- alt="TanStack CLI"
- width="900"
- />
- </picture>
- </div>
- <div align="center">
- <a href="https://www.npmjs.com/package/@tanstack/cli" target="_parent">
- <img alt="" src="https://img.shields.io/npm/dm/@tanstack/cli.svg" />
- </a>
- <a href="https://github.com/TanStack/cli/stargazers" target="_parent">
- <img alt="" src="https://img.shields.io/github/stars/TanStack/cli.svg?style=social&label=Star" />
- </a>
- <a href="https://twitter.com/tan_stack"><img src="https://img.shields.io/twitter/follow/tan_stack.svg?style=social" /></a>
- </div>
- <div align="center">
- ### [Become a Sponsor!](https://github.com/sponsors/tannerlinsley/)
- </div>
- # TanStack CLI
- Create and manage TanStack Router and Start applications.
- ```bash
- npx @tanstack/cli create my-app
- ```
- ## Features
- - **TanStack Start** - Full-stack SSR framework (default)
- - **TanStack Router** - Type-safe routing (`--router-only` for SPA)
- - **Vite or Rsbuild** - Choose the build tool for React and Solid projects
- - **Add-ons** - Auth, database, deployment, monitoring, and more
- - **CLI Introspection** - Agent-friendly discovery via JSON CLI output
- ## Quick Start
- ```bash
- # 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
- # Create with Rsbuild
- npx @tanstack/cli create my-app --build-tool rsbuild -y
- # 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
- - [CLI Reference](https://tanstack.com/cli/latest/docs/cli-reference)
- - [TanStack Start](https://tanstack.com/start)
- - [TanStack Router](https://tanstack.com/router)
- ## Telemetry
- TanStack CLI sends anonymous usage telemetry by default.
- - Sent: command usage, durations, selected framework/build tool/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 when `DO_NOT_TRACK=1` or `TANSTACK_CLI_TELEMETRY_DISABLED=1`
- Manage it with:
- ```bash
- tanstack telemetry status
- tanstack telemetry disable
- tanstack telemetry enable
- ```
- ## Get Involved
- - [GitHub Issues](https://github.com/TanStack/cli/issues)
- - [GitHub Discussions](https://github.com/TanStack/cli/discussions)
- - [Discord](https://discord.com/invite/WrRKjPJ)
- - [Contributing Guide](./CONTRIBUTING.md)
- ## TanStack Ecosystem
- - [TanStack Query](https://github.com/tanstack/query) - Async state & caching
- - [TanStack Router](https://github.com/tanstack/router) - Type-safe routing
- - [TanStack Start](https://github.com/tanstack/router) - Full-stack SSR
- - [TanStack Form](https://github.com/tanstack/form) - Type-safe forms
- - [TanStack Table](https://github.com/tanstack/table) - Headless datagrids
- - [TanStack Store](https://github.com/tanstack/store) - Reactive state
- - [TanStack Virtual](https://github.com/tanstack/virtual) - Virtualized rendering
- [More at TanStack.com](https://tanstack.com)
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.