安装与更新
Xiaohe Client
- 下载页 → Xiaohe Client。
- macOS:打开
.dmg,将 Xiaohe 拖入「应用程序」。 - Linux:
.deb(sudo dpkg -i …)或.AppImage(chmod +x后运行)。 - Windows:运行
.exe安装向导。
安装无需账号。解锁 Pro:在应用内 设置 → 授权 粘贴 License。用法:Xiaohe Client。
更新: 应用检查公共更新通道(设置 → 更新)。这不会升级 Agent——Agent 用 xiaohe upgrade。
Xiaohe Agent
支持:macOS Apple Silicon、Linux x86_64、Windows x86_64。
下载页 → Xiaohe Agent → 运行页面上的一键安装:
- macOS / Linux:
curl -fsSL <下载地址>/xiaohe/install.sh | bash - Windows:
powershell -ExecutionPolicy Bypass -c "irm <下载地址>/xiaohe/install.ps1 | iex"
然后:
xiaohe doctor # 健康检查
xiaohe # 终端聊天(可选)
xiaohe setup # 需要时继续 / 重新配置
macOS 首次可能需要 右键 → 打开(Gatekeeper)。
更新 / 卸载:
xiaohe upgrade
xiaohe version && xiaohe doctor
xiaohe uninstall # 卸载
装完下一步
| 目标 | 下一步 |
|---|---|
| 终端聊天 | Agent CLI → xiaohe |
| 本机浏览器 / 桌面 | 概览 路径 B 或 C(server start + pair + 密钥) |
| HTTP API | Session API |