Better-T-Stack: The TypeScript CLI That Actually Gets Modern App


Never miss an update
Subscribe to receive news and special offers.
By subscribing you agree to our Privacy Policy.
A faster, smarter way to start full-stack apps in 2025
If you’ve ever bootstrapped a Next.js app from scratch, you know the pain.
That setup phase eats hours — even days — before you can ship a single feature. That’s where the Better T Stack CLI changes the game.
Most CLI tools give you a basic setup and leave you to figure out the rest. But here's the thing - modern web development isn't basic anymore. You need type safety from your database to your frontend. You need authentication that doesn't make you want to cry. You need a setup that actually works in production.
Look, I'm not going to tell you this is revolutionary. It's just a CLI tool that does what other CLI tools should have been doing all along.
It gives you real choices. Want Hono for your backend? Done. Prefer Express? Also done. Need Drizzle with PostgreSQL? You've got it, now do you want to use Prisma and SQLite too? No problem.
Everything is type-safe by default. Your API calls, your database queries, your forms - they all know about each other. Make a change to your database schema and your frontend immediately knows what broke.
The stack actually works together. I spent months making sure TanStack Router plays nice with tRPC, that Better Auth integrates smoothly with Drizzle, and that your API routes don't fight with your frontend routing.
npx create-better-t-stack@latestThat's it. One command and you have:

But here's the key part - it's not just installed, it's configured. The database talks to the API. The API talks to the frontend. Authentication works across everything. You can start building features immediately.
I’ve used boilerplates before, but Better T Stack feels different:
Whether you’re building a SaaS app, dashboard, or dev tool — this gives you the foundation to launch fast without sacrificing quality.
This example show you patterns you'll actually use. How to handle forms, manage state, structure your API, handle errors, and deploy to production.
The interactive setup walks you through each choice and explains why you might want each option. No assumption that you already know the difference between every database or deployment platform.
Want to see what it looks like?
If you're tired of wasting time setting up the same stack over and over — use this once, and you'll never want to start from scratch again.
npx create-better-t-stack@latest
bun create better-t-stack@latest
pnpm create better-t-stack@latest💌 Follow me for more dev tutorials 🔗 Share this if it helped 📥 Subscribe to my newsletter
Better T-Stack is open source and free. If it saves you time, consider starring it on GitHub or sharing it with someone who's tired of project setup taking longer than building features.