CLICommands
Loading...
create-app
Create a new Tambo generative UI starter app from templates using the `tambo create-app` command.
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 integrationanalytics- Generative UI analytics template with drag-and-drop canvas and data visualization- More templates coming soon!
Examples:
# 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-depsWhat Happens Automatically:
By default, create-app will:
- Clone the template
- Install dependencies
- Initialize a git repository with initial commit
- Run
npx tambo initto set up your API key (interactive)
After Creating:
cd my-app
npm run dev # Start development serverNon-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:
npx tambo init --api-key=sk_... # Direct API key
# or
npx tambo init --project-name=myapp # Create new project (requires auth)