发布日期:2026-03-10 14:13 点击次数:55

Windows 11系统OpenClaw(龙虾)安设教程|保姆级一步到位
OpenClaw是一款能果然落地引申任务的开源 AI 智能体,可帮你处理邮件、不休日程、自动签到、对接聊天软件,全程在腹地出手,遁入更安全。
本文基于 Windows 11 环境,把安设、树立、启动全经由拆到最简,生手照着作念就能奏凯。

一、安设前准备(必作念)
OpenClaw 依赖Git与Node.js出手,先装好这两个基础环境。
1.安设 Git
下载地址:https://github.com/git-for-windows/git/releases/download/v2.52.0.windows.1/Git-2.52.0-64-bit.exe
安设重心:全程默许下一步,无需修改树立。
2.安设 Node.js
下载地址:https://nodejs.org/
安设重心:继承LTS 自如版,默许安设,自动树立环境变量。
OpenClaw 条件 Node.js 版块必须 ≥ 22
3.考据环境
以不休员身份掀开 CMD,a8体育app最新版输入:
git --versionnode -vnpm -v
出现版块号即环境平时。
二、安设 OpenClaw 中枢顺次
这一步是舛错,必须用不休员权限 CMD,且确保能平时看望 GitHub。
1. 掀开不休员 CMD
旅途:畛域面板 → 系统和安全 → Windows 用具 → 找到大呼请示符→ 右键以不休员身份出手。
2. 引申安设大呼
参考https://docs.openclaw.ai/zh-CN/install
iwr -useb https://openclaw.ai/install.ps1 | iex概况npm i -g openclaw --ignore-scripts --registry=https://registry.npmmirror.com
npm i -g openclaw --ignore-scripts --registry=https://registry.npmmirror.com
• 安设奏凯:请示更新几许包,无报错。
• 安设失败(code 128):多引申几次大呼,多为网罗波动导致。
openclaw --version安设报错:
PS C:\\Users\\Administrator> iwr -useb https://openclaw.ai/install.ps1 | iexOpenClaw Installer[OK] Windows detected[OK] Node.js v24.14.0 found[*] Installing OpenClaw (openclaw@latest)...iex : 无法加载文献 D:\\Program Files\\nodejs\\npm.ps1,因为在此系统上辞让出手剧本。关系认真信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。场地位置 行:1 字符: 45iwr -useb https://openclaw.ai/install.ps1 | iex ~~~ CategoryInfo : SecurityError: (:) [Invoke-Expression],PSSecurityExceptionFullyQualifiedErrorId : UnauthorizedAccess,Microsoft.PowerShell.Commands.InvokeExpressionCommand惩处报错
成立引申战略为 RemoteSigned(允许出手腹地剧本,费力剧本需签名)Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force

经过一段手艺的安设
安设奏凯
PS C:\\Users\\Administrator> iwr -useb https://openclaw.ai/install.ps1 | iex OpenClaw Installer [OK] Windows detected[OK] Node.js v24.14.0 found[*] Installing OpenClaw (openclaw@latest)...[OK] OpenClaw installed OpenClaw installed successfully (2026.3.2)! Cozy. I've already read your calendar. We need to talk. Starting setup... OpenClaw 2026.3.2 (85377a2) — I autocomplete your thoughts—just slower and with more API calls. Windows detected — OpenClaw runs great on WSL2!Native Windows might be trickier.Quick setup: wsl --install (one command, one reboot)Guide: https://docs.openclaw.ai/windows▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██░▄▄▄░██░▄▄░██░▄▄▄██░▀██░██░▄▄▀██░████░▄▄▀██░███░████░███░██░▀▀░██░▄▄▄██░█░█░██░█████░████░▀▀░██░█░█░████░▀▀▀░██░█████░▀▀▀██░██▄░██░▀▀▄██░▀▀░█░██░██▄▀▄▀▄██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ OPENCLAW T OpenClaw onboarding|o Security ---------------------------------------------------------------------------------+|