在VS Code中安装Claude-Autopilot扩展需要以下步骤:
- 安装Claude Code:从Anthropic官网下载并安装Claude Code,确保你的账号订阅了Anthropic的Pro或Max计划。在终端运行
claude
命令登录账户。 - 克隆项目仓库:在终端运行
git clone https://github.com/benbasha/Claude-Autopilot.git
,进入项目目录cd Claude-Autopilot
。 - 安装依赖:运行
npm install
安装项目依赖。 - 编译TypeScript代码:运行
npm run compile
进行编译(可选:开发模式下可运行npm run watch
启用调试)。 - 打包扩展:运行
vsce package
生成VSIX文件。 - 安装扩展:在VS Code的扩展面板中选择“从VSIX安装”,选择生成的VSIX文件完成安装。
- 配置扩展:在VS Code的Settings中搜索“Claude Autopilot”,根据需求调整队列处理速度等配置选项。
本答案来源于文章《Claude-Autopilot:自动化管理Claude Code任务的VS Code扩展》