Esta página se muestra en inglés. Una traducción al español está en curso.
ScriptsJul 7, 2026·3 min de lectura

Create T3 App — The Best Way to Start a Full-Stack TypeScript Project

Interactive CLI that scaffolds a production-ready Next.js app with TypeScript, tRPC, Prisma, Tailwind CSS, and NextAuth.js pre-configured and integrated.

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
Create T3 App Overview
Comando de instalación directa
npx -y tokrepo@latest install b8cec394-7a45-11f1-9bc6-00163e2b0d79 --target codex

Ejecutar después de confirmar el plan con dry-run.

Introduction

Create T3 App is an interactive CLI that scaffolds a fully typed Next.js application with a curated set of libraries known as the T3 Stack. It eliminates hours of boilerplate setup by integrating TypeScript, tRPC, Prisma, Tailwind CSS, and NextAuth.js into a single cohesive starting point.

What Create T3 App Does

  • Generates a Next.js project with strict TypeScript configuration out of the box
  • Optionally adds tRPC for end-to-end type-safe API routes without code generation
  • Integrates Prisma ORM with a ready-to-use schema and database client
  • Pre-configures Tailwind CSS with sensible defaults and purge settings
  • Sets up NextAuth.js for OAuth and credential-based authentication

Architecture Overview

The CLI is a Node.js script that prompts the user to select which T3 Stack pieces to include, then copies the appropriate template files, merges package.json dependencies, and runs the package manager install. Each optional library has its own template directory so combinations compose cleanly without conflicts.

Self-Hosting & Configuration

  • Run the scaffolder with npx, pnpm dlx, or yarn create — no global install needed
  • Choose between npm, pnpm, yarn, or bun as your package manager during setup
  • Set DATABASE_URL in .env to point Prisma at PostgreSQL, MySQL, or SQLite
  • Configure OAuth providers in the NextAuth.js config file for social login
  • Deploy the resulting app to Vercel, Railway, or any Node.js host with zero changes

Key Features

  • Fully interactive CLI with sensible defaults for quick bootstrapping
  • Every selected library is pre-wired so imports and types work immediately
  • Follows the T3 axiom of typesafety from database to frontend
  • Community-maintained with frequent updates tracking latest Next.js releases
  • Minimal footprint — only installs what you choose, nothing extra

Comparison with Similar Tools

  • Next.js create-next-app — bare Next.js scaffold; T3 adds the full data and auth stack on top
  • RedwoodJS — opinionated full-stack framework with its own CLI; T3 stays closer to vanilla Next.js
  • Blitz.js — zero-API layer on Next.js; T3 uses tRPC for a similar DX with more flexibility
  • SvelteKit — different UI framework entirely; T3 is React/Next.js-centric

FAQ

Q: Can I remove a library after scaffolding? A: Yes. Each integration is isolated in its own files, so deleting the relevant config and imports cleanly removes it.

Q: Does it support the App Router? A: Yes. Recent versions default to the Next.js App Router with full tRPC and NextAuth.js support.

Q: Is it only for new projects? A: It is designed for greenfield apps. For existing projects, you can reference the generated code to add T3 Stack libraries manually.

Q: What databases work with the Prisma integration? A: PostgreSQL, MySQL, SQLite, SQL Server, and CockroachDB are all supported through Prisma.

Sources

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados