乐于分享
好东西不私藏

window安装openclaw不再难,别花费安装费了

window安装openclaw不再难,别花费安装费了
第一,首页打开powershell软件,这个是命令行安装的
第二,复制以下命令执行
注意复制要复制全命令
  1. 获取权限
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
2. 安装git
winget install --id Git.Git -e --source winget
3. 一条命令安装openclaw
iwr -useb https://openclaw.ai/install.ps1 | iex
注意但由于网络原因,下面命令可能只能安装成功node如下图,如果遇到问题就继续第4步
4. 安装pnpm,由于git有网络限制,使用阿里云的镜像源可以更快安装成功,通常几分钟就安装完成
npm config set registry https://registry.npmmirror.com
npm install -g  pnpm
pnpm config set registry https://registry.npmmirror.com
pnpm setup
关闭powershell
5. 打开新的powershell,安装openclaw,下面命令会安装最新版本的openclaw
pnpm add -g openclaw
6. 启动openclaw,注意启动了这个命令千万别关闭
openclaw gateway --allow-unconfigured
7. 注意新打开另一个powershell,运行下面命令会自动打开浏览器,打开openclaw页面
openclaw dashboard
显示如下图,说明安装成功了