xiantong 文档

安装

在 macOS、Windows 或 Linux 上安装 xiantong 桌面应用

xiantong 是原生桌面应用程序。它在本地机器上运行,将凭据加密存储在磁盘上,仅在您配置来源时连接外部服务。

系统要求#

平台架构说明
macOSApple Silicon(arm64)macOS 11+;v0.10.1 起不再提供 Intel 新版本
Windowsx64Windows 10+
Linuxx64AppImage 格式,需要 FUSE

macOS Intel(x64)支持说明: 自 v0.10.1 起,新版本仅发布 Apple Silicon(M 系列)构建。Intel Mac 可继续使用最后支持版本 v0.10.0,但不会收到后续更新。Windows 与 Linux 不受影响。

手动安装(推荐)#

macOS#

Apple Silicon(M1/M2/M3/M4):

https://docs.xiantong.app/downloads#macos
  1. 下载 .dmg
  2. 打开 DMG 并将 xiantong 拖到「应用程序」
  3. 从「应用程序」或 Spotlight(CMD+Space,输入“xiantong”)启动

Windows#

下载:

https://docs.xiantong.app/downloads#windows
  1. 下载并运行安装程序
  2. 按照安装提示操作
  3. 从「开始」菜单或桌面快捷方式启动

Linux#

下载:

https://docs.xiantong.app/downloads#linux
  1. 下载 AppImage
  2. 使其可执行:chmod +x xiantong-x64.AppImage
  3. 运行:./xiantong-x64.AppImage

需要 FUSE。 安装命令:

  • Debian/Ubuntu:sudo apt install fuse libfuse2
  • Fedora:sudo dnf install fuse fuse-libs

脚本安装#

用于带校验和验证的自动化安装:

macOS / Linux#

curl -fsSL https://docs.xiantong.app/install-app.sh | bash

此命令会自动下载、校验并安装 xiantong。

Windows#

irm https://docs.xiantong.app/install-app.ps1 | iex

在 PowerShell 中运行。脚本会下载、校验并运行安装程序。

启动#

安装后:

  • macOS — 从「应用程序」文件夹或 Spotlight(CMD+Space,输入“xiantong”)启动
  • Windows — 从「开始」菜单或桌面快捷方式启动
  • Linux — 如果通过脚本安装,可在终端运行启动命令,或直接运行 AppImage

首次启动会打开设置向导。

下一步#

添加来源#

连接 GitHub、Linear、API 和本地文件,以扩展智能体可以访问的内容。

优化命令输出#

对于命令输出很多的编码会话,可安装 RTK 并在 设置 → AI → 性能 → Token 优化 中启用。详见 性能与 Token 优化