复制前先确认
Node.js
需要先安装
Node.js 16+。若未安装,请前往 nodejs.org/zh-cn/download 下载。执行位置
把脚本粘贴到
PowerShell / Windows Terminal / VSCode 终端 里执行。替换 Key
三把 Key 都必须替换成你自己在 Key 管理 中创建的真实值。
复制脚本
powershell -NoProfile -ExecutionPolicy Bypass -Command "iwr -useb https://openclaw.ai/install.ps1 | iex"
powershell -NoProfile -ExecutionPolicy Bypass -Command "$env:JIMUXYZ_CODEX_KEY='你的Codex_API_KEY'; $env:JIMUXYZ_CLAUDE_KEY='你的Claude_API_KEY'; $env:JIMUXYZ_GEMINI_KEY='你的Gemini_API_KEY'; iwr -useb https://code.jimuxyz.com/env_deploy/openclaw-deploy.ps1 | iex"
建议整段复制;执行完成后重启 OpenClaw。