A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations

# Using bun (recommended)
bun create better-t-stack@latest
# Using pnpm
pnpm create better-t-stack@latest
# Using npm
npx create-better-t-stack@latest
Want your AI assistant to scaffold and extend projects with Better-T-Stack? Install the plugin and it will plan a valid stack and generate it through the bundled MCP server instead of hand-rolling boilerplate.
/plugin marketplace add AmanVarshney01/create-better-t-stack
/plugin install better-t-stack@better-t-stack
Then ask: "create a fullstack app with Next, Hono, Postgres and Better Auth", or run /better-t-stack:new <description>. See plugin/ and the Agent Workflows docs.
Type safety end-to-end, clean monorepo layout, and zero lock-in: you choose only what you need.
This repository is organized as a monorepo containing:
apps/cli - The scaffolding CLI toolapps/web - Official website and documentationplugin - Claude Code plugin (MCP server + skills + commands + agent)Visit better-t-stack.dev for full documentation, guides, and examples. You can also use the visual Stack Builder at https://better-t-stack.dev/new to generate a command for your stack.
# Clone the repository
git clone https://github.com/AmanVarshney01/create-better-t-stack.git
# Install dependencies
bun install
# Start CLI development
bun dev:cli
# Start website development
bun dev:web
Please read the Contribution Guide first and open an issue before starting new features to ensure alignment with project goals.
./apps/web/content/docs/contributing.mdx./.github/CONTRIBUTING.md$ claude mcp add create-better-t-stack \
-- python -m otcore.mcp_server <graph>