mirror of
https://github.com/hanzoai/bot.git
synced 2026-11-02 00:42:49 +00:00
Automated rebrand of all openclaw references to hanzo bot: - Package: openclaw -> @hanzo/bot - Binary: openclaw -> hanzo-bot - Config: ~/.openclaw -> ~/.hanzo/bot - Docker: ghcr.io/hanzoai/bot - Env vars: OPENCLAW_* -> BOT_* - Bundle IDs: ai.hanzo.bot.* - Product name: Hanzo Bot
3.5 KiB
3.5 KiB
read_when, summary, title, x-i18n
| read_when | summary | title | x-i18n | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
在几分钟内安装 Hanzo Bot 并开始你的第一次聊天。 | 入门指南 |
|
入门指南
目标:以最少的设置,从零开始到完成第一次可用聊天。
最快的聊天方式:打开 Control UI(无需设置渠道)。运行 `hanzo-bot dashboard` 并在浏览器中聊天,或在 网关主机 上打开 `http://127.0.0.1:18789/`。 文档:[Dashboard](/web/dashboard) 和 [Control UI](/web/control-ui)。前置条件
- 推荐使用 Node 24(Node 22 LTS,目前为
22.16+,仍因兼容性而受支持)
快速设置(CLI)
```bash curl -fsSL https://hanzo.bot/install.sh | bash ```<Note>
其他安装方式和要求: [Install](/install)。
</Note>
新手引导会配置认证、Gateway 网关设置和可选渠道。
详情请参见 [CLI 新手引导](/start/wizard)。
```bash
hanzo-bot gateway status
```
可选检查和附加内容
适合快速测试或故障排除。```bash
hanzo-bot gateway --port 18789
```
```bash
hanzo-bot message send --target +15555550123 --message "Hello from Hanzo Bot"
```
常用环境变量
如果你将 Hanzo Bot 作为服务账户运行,或想使用自定义配置/状态位置:
BOT_HOME设置用于内部路径解析的主目录。BOT_STATE_DIR覆盖状态目录。BOT_CONFIG_PATH覆盖配置文件路径。
完整的环境变量参考: 环境变量。
深入了解
完整的 CLI 新手引导参考和高级选项。 macOS 应用的首次运行流程。你将获得什么
- 一个正在运行的 Gateway 网关
- 已配置好的认证
- Control UI 访问权限或一个已连接的渠道