OpenClaw (小龙虾) Windows全系列保姆级安装教程

📅 发布时间:2026/7/10 2:13:23 👁️ 浏览次数:
OpenClaw (小龙虾) Windows全系列保姆级安装教程
如果有任何问题发在评论区随时在线解决提前下载Git和node jsnode js网址Node.js — 下载 Node.js®点击下载Windows 安装程序(.msi)下载后一直点下一步正常安装就行Git安装网址Windows 安装程序(.msi)点击Git for Windows/x64 Setup.下载安装https://github.com/git-for-windows/git/releases/download/v2.53.0.windows.1/Git-2.53.0-64-bit.exe上述需要挂代理下载有时候可能不需要挂也可以下载安装下载后也是一直点下一步一直安装即可然后打开powershell右键-管理员运行然后这是一键化脚本包含了你可能的历史安装的缓存清除等挂代理等git config --global url.https://github.com/.insteadOf gitgithub.com: git config --global url.https://github.com/.insteadOf ssh://gitgithub.com/ npm config set registry https://registry.npmmirror.com npm cache clean --force npm install -g openclawlatest如果提示下面这些EPERM: operation not permitted, rmdir ... npm error code 3221225477 npm error path npm error command failed npm error command C:\Windows\system32\cmd.exe /d /s /c node ./dist/cli/cli.js postinstall npm error [node-llama-cpp] A prebuilt binary was not found, falling back to using no GPU npm error A complete log of this run can be found in:统统是因为你安装过了有缓存残留进程代码问题请重启电脑后运行taskkill /F /IM node.exe 2$null taskkill /F /IM openclaw.exe 2$null Remove-Item -Recurse -Force $env:APPDATA\npm\node_modules\openclaw -ErrorAction SilentlyContinue Remove-Item -Force $env:APPDATA\npm\openclaw* -ErrorAction SilentlyContinue Remove-Item -Recurse -Force $env:LOCALAPPDATA\npm-cache -ErrorAction SilentlyContinue Remove-Item -Recurse -Force $env:APPDATA\npm-cache -ErrorAction SilentlyContinue npm cache clean --force npm cache verify $env:NODE_LLAMA_CPP_SKIP_DOWNLOAD1 $env:npm_config_optionalfalse然后再运行上面的代码基本上能解决99%的问题\2026.3.10更新如果遇到gateway等网关打不开也就是网址打不开就可以执行以下命令openclaw status openclaw logs --follow openclaw gateway restart openclaw gateway status运行上面的代码就可以了显示上面的就是成功了那么恭喜你完成了安装了后续很简单了就只有配置了。配置实例运行openclaw onboard选择Yes:下一步选择QuickStart选择skip for now(后续可以在网站里面配置)选择skip for now(后续可以在网站里面配置)然后下一步继续选择跳过后续继续跳过后面等待这样就成功了成功进入页面后续配置api等都可以在这里配置方便与此同时该窗口不能关闭可以后台静默享受你的小龙虾吧~