StartupKitstartupkit

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 init

Or install it globally:

npm install -g startupkit
startupkit init

Commands

CommandDescription
initCreate a new StartupKit project
addAdd a new app to your workspace
upgradeUpgrade packages and config to latest
helpShow help information

Quick Start

Create a new project:

npx startupkit init

The CLI will prompt you for:

  1. Project name - The display name for your project
  2. Project key - URL-safe slug (auto-generated from name)
  3. 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.json

Next Steps

On this page