Files
takopi/docs/tutorials/install-and-onboard.md
T
2026-01-13 15:59:27 +04:00

57 lines
1009 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Install & onboard
Youll install Takopi, connect it to Telegram, and generate a working `takopi.toml`.
## Prerequisites
- A Telegram account
- Python 3.14+ and `uv`
- At least one supported engine CLI on your `PATH` (`codex`, `claude`, `opencode`, or `pi`)
## 1) Install Takopi
```sh
uv tool install -U takopi
```
## 2) Run onboarding
Start Takopi:
```sh
takopi
```
If you want to re-run onboarding later:
```sh
takopi --onboard
```
The wizard walks you through:
1. Creating a bot token via [@BotFather](https://t.me/BotFather)
2. Capturing your `chat_id` (it listens for a message from you)
3. Choosing a default engine
Your configuration lives at `~/.takopi/takopi.toml`.
## 3) Verify minimal config
After onboarding you should have something like:
```toml
default_engine = "codex"
transport = "telegram"
[transports.telegram]
bot_token = "123456789:ABCdefGHIjklMNOpqrsTUVwxyz"
chat_id = 123456789
```
## Next
- [First run](first-run.md)
- [Config reference](../reference/config.md)