安装
了解如何安装 Auto-Coder.Chat(CLI)和 Auto-Coder.Web(Web UI)。
安装
Auto-Coder.Chat 提供 CLI 和 Web 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