1.安装node.js
Node.js — 下载 Node.js®
2.安装pnpm
npm install -g pnpm
3.安装git
Git - Install for Windows
4.安装OpenClaw
git clone https://github.com/openclaw/openclaw.gitcd openclaw && pnpm install && pnpm run buildpnpm run openclaw onboard
2.安装OpenClaw
npm i -g openclaw
遇到的问题:
1.git clone https://github.com/openclaw/openclaw.git报错如下:
fatal: unable to access 'https://github.com/openclaw/openclaw.git/': Recv failure: Connection was reset
开启代理软件后没有在命令行设置代理,只需set https_proxy=127.0.0.1:1080,1080为代理启动的端口,设置代理后再克隆即可
2.cd openclaw && pnpm install && pnpm run build,命令执行后好长时间没有反应
更改镜像源:pnpm config set registry https://registry.npmmirror.com
