安装指南
三步完成安装,开始使用 AxonCog
系统要求
Windows
Windows 10/11
x86_64
macOS
macOS 11+
Intel / Apple Silicon
Linux
主流发行版
x86_64 / ARM64
安装方式
方式一:Cargo(推荐)
终端
bash
1# 安装 AxonCog2cargo install axoncog34# 验证安装5axoncog --version方式二:下载二进制
从 GitHub Releases 下载对应平台的可执行文件,放入 PATH 目录。
方式三:从源码编译
终端
bash
1# 克隆仓库2git clone https://github.com/axoncog/axoncoggit clone https:3cd axoncog45# 编译 Release 版本6cargo build --release78# 编译完成后,二进制在 target/release/axoncog初始化配置
终端
bash
1# 启动交互式配置向导2axoncog onboard34# 按提示选择 Provider、配置 API Key5# 配置文件自动生成在 ~/.config/axoncog/config.toml提示:配置完成后,运行 axoncog chat 即可开始第一次对话。
验证安装
终端
bash
1# 检查版本2axoncog --version3# AxonCog v0.1.0-alpha.145# 检查环境6axoncog doctor78# 启动对话9axoncog chat