Documentation Index
Fetch the complete documentation index at: https://mintlify.com/amanvarshney01/create-better-t-stack/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Better-T-Stack CLI provides several commands to create and manage TypeScript full-stack projects. All commands are invoked throughcreate-better-t-stack.
create (Default Command)
Creates a new Better-T-Stack project with your chosen stack configuration.
Syntax:
Name or path for your project directory. If omitted, you’ll be prompted to enter it.
Key Options
Use default configuration and skip all interactive prompts.
Use a predefined project template. Available templates:
mern- MongoDB, Express, React, Node.jspern- PostgreSQL, Express, React, Node.jst3- T3 stack configurationuniwind- UniWind React Native templatenone- No template (default)
Show detailed result information as JSON after project creation.
Bypass validations and compatibility checks. Not recommended for production use.
Examples
add
Adds addons to an existing Better-T-Stack project.
Syntax:
Options
Addons to add to the project. Available addons:
pwa- Progressive Web App supporttauri- Desktop app supportstarlight- Starlight documentationfumadocs- Fumadocs documentationbiome- Biome linting/formattingoxlint- Oxlint + Oxfmthusky- Git hooks with Huskylefthook- Git hooks with Lefthookturborepo- Turborepo monoreporuler- AI rules managermcp- MCP servers via add-mcpskills- AI coding agent skillsopentui- Terminal UI componentswxt- Browser extension framework
Project directory (defaults to current directory).
Install dependencies after adding addons.
Package manager to use:
npm, pnpm, or bun.Examples
history
Shows project creation history stored locally on your machine.
Syntax:
Options
Number of history entries to show.
Output history as JSON.
Clear all history entries.
Storage Location
History is stored in platform-specific directories:- macOS:
~/Library/Application Support/better-t-stack/history.json - Linux:
~/.local/share/better-t-stack/history.json - Windows:
%LOCALAPPDATA%\better-t-stack\Data\history.json
Examples
sponsors
Displays Better-T-Stack sponsors and supporters.
Syntax:
docs
Opens the Better-T-Stack documentation in your default browser.
Syntax:
https://better-t-stack.dev/docs.
builder
Opens the web-based stack builder in your default browser.
Syntax:
https://better-t-stack.dev/new where you can configure your stack visually and copy the CLI command.
Global Options
These options work with any command:Display help information for the command.
Display CLI version.
Programmatic Usage
For automation and integration with other tools, use the programmatic API:~/workspace/source/apps/cli/src/index.ts for the complete API reference.