Confusing CLI instructions: @tanstack/create-start deprecated but docs still recommend pnpm create @tanstack/start@latest
#6712
Replies: 1 comment
-
|
Recommended command going forward:
# Old (deprecated, avoid):
pnpm create @tanstack/start@latest
# New (recommended):
npx @tanstack/cli create
# or, if installed globally:
tanstack createNitro difference The old For a plain Node.js deployment you do not need Nitro. The TanStack Start server runs directly on Node.js via Vinxi without requiring an adapter. You only need a Nitro adapter if you are deploying to a platform that requires one (Cloudflare, Vercel Edge, Netlify, etc.). Summary
To add Nitro later if you need it: install |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When creating a new project using:
I receive the following warning:
However, the Quick Start page still instructs users to run:
This creates confusion about which command is currently the recommended and supported approach.
Questions
What is the officially supported and future-proof way to scaffold a new TanStack Start project?
pnpm create @tanstack/start@latestnpx @tanstack/cli createtanstack createI noticed one behavioral difference:
pnpm create @tanstack/start@latestincludes the Nitro pluginpnpx @tanstack/cli createdoes not include NitroIs this intentional?
If I only plan to deploy/run the app in a Node.js environment, is the Nitro plugin required?
It would be helpful if the documentation could clarify:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions