# create-app
URL: /reference/cli/commands/create-app

`npx tambo create-app [directory]` or `npm create tambo-app my-app`

Creates a new Tambo app from a template. Choose from pre-built templates to get started quickly with different use cases.

**Available Templates:**

* `standard` - Tambo + Tools + MCP - general purpose AI app template with MCP integration
* `vite` - Tambo + TanStack Router + Vite for fast, lightweight apps
* `analytics` - Generative UI analytics template with drag-and-drop canvas and data visualization
* `expo` - Tambo + Expo + React Native mobile app template

**Examples:**

```bash
# Create app with interactive prompts (git + tambo init auto-run)
npx tambo create-app

# Create in current directory
npx tambo create-app .

# Create with specific template
npx tambo create-app my-app --template=standard

# Skip automatic git initialization
npx tambo create-app my-app --skip-git-init

# Skip automatic tambo init
npx tambo create-app my-app --skip-tambo-init

# Use legacy peer deps
npx tambo create-app my-app --legacy-peer-deps
```

**What Happens Automatically:**

By default, `create-app` will:

* Clone the template
* Install dependencies
* Initialize a git repository with initial commit
* Run `npx tambo init` to set up your API key (interactive)

**After Creating:**

```bash
cd my-app
npm run dev            # Start development server
```

**Non-Interactive Mode:**

In CI/CD or agent environments, `tambo init` is skipped automatically since it requires user interaction. You'll need to run it separately with appropriate flags:

```bash
npx tambo init --api-key=sk_...     # Direct API key
# or
npx tambo init --project-name=myapp # Create new project (requires auth)
```
