安装

了解如何安装 Auto-Coder.Chat(CLI)和 Auto-Coder.Web(Web UI)。

安装

Auto-Coder.Chat 提供 CLIWeb UI 两种使用方式,均通过 pip 安装。

系统要求

  • Python 3.10 ~ 3.11(不支持其他版本)
  • pip 包管理器
  • 操作系统:macOS / Linux / Windows

通过 pip 安装

推荐:一键安装 CLI + Web UI

pip install -U auto-coder auto_coder_web

这会同时安装:

  • auto-coder — 核心 CLI 工具,提供 auto-coder.chat 命令
  • auto_coder_web — 本地 Web UI,提供 auto-coder.web 命令

仅安装 CLI

如果你只需要命令行模式:

pip install -U auto-coder

从源码安装

如果你需要最新的开发版本:

git clone https://github.com/allwefantasy/auto-coder.git
cd auto-coder
pip install -e .

Web UI 源码安装:

git clone https://github.com/allwefantasy/auto-coder.web.git
cd auto-coder.web
pip install -e .

验证安装

# 验证 CLI
auto-coder.chat --help

# 验证 Web UI(如已安装)
auto-coder.web --help

下一步

安装完成后,前往快速开始几分钟内上手使用,或前往配置页面进行初始配置。