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

# Pip Installation

> Install Chibi via pip and use the CLI commands.

## Quick Install

```bash theme={null}
pip install chibi-bot
```

## CLI Commands

After installation, use `chibi` command:

| Command         | Description                                             |
| --------------- | ------------------------------------------------------- |
| `chibi start`   | Start the Chibi bot service as a daemon                 |
| `chibi stop`    | Stop the running Chibi bot service                      |
| `chibi restart` | Restart the Chibi bot service                           |
| `chibi config`  | Open the Chibi configuration file in the default editor |
| `chibi logs`    | Tail the Chibi log file                                 |

## First Time Setup

After installing via pip, run `chibi config` to set up your bot with required API keys:

```bash theme={null}
chibi config
```

This will open the configuration file in your default editor where you can add your Telegram bot token and other settings.

You can read more about Agent configuration here: [core settings](/configuration/core-settings)
You can see the `env`-file template with all available settings here: [.env template](/configuration/env-template)

## Need More Control?

If you need to customize the installation or run from source, see [Manual Setup](/installation/manual-setup).
