> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pipecat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Build Your Next Bot

> Scaffold a new Pipecat project with the CLI

Ready to build your own bot? The Pipecat CLI scaffolds complete projects tailored to your platform and use case.

<Note>
  **New to Pipecat?** We recommend completing the
  [Quickstart](/pipecat/get-started/quickstart) first to understand Pipecat
  basics before scaffolding your own project.
</Note>

## Install the Pipecat CLI

Install the CLI globally with [uv](https://docs.astral.sh/uv/):

```bash theme={null}
uv tool install pipecat-ai-cli
```

Verify installation:

```bash theme={null}
pipecat --version
```

## Create Your Project

Run the interactive setup wizard:

```bash theme={null}
pipecat init
```

The CLI will guide you through selecting your platform (phone or web/mobile), transport provider, AI services (STT, LLM, TTS), and deployment target.

<Card title="CLI Reference" icon="terminal" href="/api-reference/cli/init">
  See detailed options and generated project structure
</Card>

## Next Steps

Once `pipecat init` completes, the CLI will provide specific instructions for your generated project, including:

* How to configure your API keys
* Installing dependencies
* Running your bot locally
* Customizing the bot logic and behavior

Follow the instructions displayed by the CLI to get your bot up and running!

## Deploy to Production

Ready to deploy your bot? Choose between managed cloud hosting or self-hosted infrastructure.

<CardGroup cols={2}>
  <Card title="Pipecat Cloud" icon="cloud" href="/pipecat-cloud/introduction">
    Deploy and manage your agents with the CLI - purpose-built for Pipecat
  </Card>

  <Card title="Self-Hosted Options" icon="server" href="/pipecat/deployment/overview">
    Deploy to Fly.io, Modal, AWS, or your own infrastructure
  </Card>
</CardGroup>

## Learn More

<CardGroup cols={2}>
  <Card title="Core Concepts" icon="book-open" href="/pipecat/learn/overview">
    Understand pipelines, processors, and transports
  </Card>

  <Card title="Browse Examples" icon="code" href="https://github.com/pipecat-ai/pipecat-examples">
    30+ production-ready examples for inspiration
  </Card>
</CardGroup>
