codealive安装程序
安装 CodeAlive 您的AI编码代理。
支持三种安装方式:
| 方法 | 最适合 | 代理 |
|---|---|---|
| Claude代码插件 | 克劳德代码用户 | 克劳德代码 |
| CodeAlive技能 | 通用 | Cursor、Copilot、Windsurf、Gemini CLI、Codex、Roo Code、30+代理 |
| MCP服务器 | 直接工具访问 | 任何兼容MCP的客户端 |
快速开始
macOS/Linux:
npx @codealive/installerWindows(PowerShell):
irm https://raw.githubusercontent.com/CodeAlive-AI/codealive-installer/main/install.ps1 | iex如果你已经有了Node.js:
npx @codealive/installer交互式向导将指导您选择和安装组件。
选项
--api-key, -k CodeAlive API key
--ci CI mode — skip prompts, install MCP to detected agents
--debug Enable debug loggingCI模式
npx @codealive/installer --ci --api-key YOUR_KEY自动将MCP服务器安装到所有检测到的代理,无需提示。
支持的代理(MCP)
- 克劳德代码
- 光标
- VS代码(GitHub副本)
- 帆板运动
- 克莱恩
- Roo代码
- 泽德
- 开源代码
- 法典
- 反重力
程序化使用
import { runWizard, installMcp, installSkill, installPlugin } from '@codealive/installer';
// Run the full wizard
await runWizard({ apiKey: 'your-key' });
// Or install individual components
const mcpClients = await installMcp('your-key');
const skillResult = installSkill();
const pluginOk = await installPlugin();API密钥
获取API密钥: app.codealive.ai/settings/api-keys.
密钥存储在操作系统凭据存储中(macOS Keychain、Linux密钥工具、Windows凭据管理器)。
许可证
麻省理工学院
