The fastest way to get a Start project up and running is with the cli. Just run
pnpm create @tanstack/start@latest pnpm create @tanstack/start@latest or
npm create @tanstack/start@latest npm create @tanstack/start@latest depending on your package manager of choice. You'll be prompted to add things like Tailwind, eslint, and a ton of other options.
You can also clone and run the Basic example right away with the following commands:
npx gitpick TanStack/router/tree/main/examples/react/start-basic start-basic cd start-basic npm install npm run dev npx gitpick TanStack/router/tree/main/examples/react/start-basic start-basic cd start-basic npm install npm run dev If you'd like to use a different example, you can replace start-basic above with the slug of the example you'd like to use from the list below.
Once you've cloned the example you want, head back to the Routing guide to learn how to use TanStack Start!
TanStack Start has load of examples to get you started. Pick one of the examples below to get started!
Each example above has an embedded stackblitz preview to find the one that feels like a good starting point
To quickly deploy an example, click the Deploy to Netlify button on an example's page to both clone and deploy the example to Netlify.
To manually clone and deploy the example to anywhere else you'd like, use the following commands replacing EXAMPLE_SLUG with the slug of the example you'd like to use from above:
npx gitpick TanStack/router/tree/main/examples/react/EXAMPLE_SLUG my-new-project cd my-new-project npm install npm run dev npx gitpick TanStack/router/tree/main/examples/react/EXAMPLE_SLUG my-new-project cd my-new-project npm install npm run dev Once you've clone or deployed an example, head back to the Routing guide to learn how to use TanStack Start!
While not Start-specific examples, these may help you understand more about how TanStack Router works:
