Overview
The StartupKit command-line interface for scaffolding and managing projects
The StartupKit CLI helps you create new projects, add apps to your workspace, and keep your setup up to date.
Installation
You can use the CLI directly with npx (no installation required):
npx startupkit initOr install it globally:
npm install -g startupkit
startupkit initCommands
| Command | Description |
|---|---|
init | Create a new StartupKit project |
add | Add a new app to your workspace |
upgrade | Upgrade packages and config to latest |
help | Show help information |
Quick Start
Create a new project:
npx startupkit initThe CLI will prompt you for:
- Project name - The display name for your project
- Project key - URL-safe slug (auto-generated from name)
- Directory - Where to create the project
After initialization, your project includes:
- Pre-configured monorepo with pnpm workspaces
- Workspace packages (
@repo/analytics,@repo/auth,@repo/db, etc.) - Shared config (
@repo/tsconfig,@repo/biome) - Turbo for build orchestration
- AI agent instructions (AGENTS.md)
What Gets Scaffolded
my-project/
├── apps/ # Your applications
├── packages/
│ ├── analytics/ # @repo/analytics
│ ├── auth/ # @repo/auth
│ ├── db/ # @repo/db (Drizzle ORM)
│ ├── emails/ # @repo/emails
│ ├── ui/ # @repo/ui (Shadcn)
│ └── utils/ # @repo/utils
├── config/
│ ├── biome/ # @repo/biome
│ ├── nextjs/ # @repo/nextjs
│ └── typescript/ # @repo/tsconfig
├── .ruler/
│ └── AGENTS.md # AI agent instructions
├── turbo.json
├── pnpm-workspace.yaml
└── package.jsonNext Steps
- Create a new project - Detailed init command guide
- Add apps to your workspace - Add Next.js, Vite, and more
- Keep your project updated - Upgrade packages and config