1:一键安装

PS C:\Users\Administrator> d:                                                                                           PS D:\> cd .\openclaw\
PS D:\openclaw> powershell -ExecutionPolicy Bypass -Command "iwr -useb https://openclaw.ai/install.ps1 | iex"

  OpenClaw Installer

[OK] Windows detected
[!] Node.js not found
[*] Installing Node.js...

Error: Could not find a package manager (winget, choco, or scoop)

Please install Node.js 22+ manually:
  https://nodejs.org/en/download/

Or install winget (App Installer) from the Microsoft Store.

提升需要Node.js 22+

2:安装node

PS C:\Users\Administrator> nvm list

No installations recognized.
PS C:\Users\Administrator> nvm -v
1.2.2
PS C:\Users\Administrator> nvm list available

|   CURRENT    |     LTS      |  OLD STABLE  | OLD UNSTABLE |
|--------------|--------------|--------------|--------------|
|    25.8.0    |   24.14.0    |   0.12.18    |   0.11.16    |
|    25.7.0    |   24.13.1    |   0.12.17    |   0.11.15    |
|    25.6.1    |   24.13.0    |   0.12.16    |   0.11.14    |
|    25.6.0    |   24.12.0    |   0.12.15    |   0.11.13    |
|    25.5.0    |   24.11.1    |   0.12.14    |   0.11.12    |
|    25.4.0    |   24.11.0    |   0.12.13    |   0.11.11    |
|    25.3.0    |   22.22.1    |   0.12.12    |   0.11.10    |
|    25.2.1    |   22.22.0    |   0.12.11    |    0.11.9    |
|    25.2.0    |   22.21.1    |   0.12.10    |    0.11.8    |
|    25.1.0    |   22.21.0    |    0.12.9    |    0.11.7    |
|    25.0.0    |   22.20.0    |    0.12.8    |    0.11.6    |
|   24.10.0    |   22.19.0    |    0.12.7    |    0.11.5    |
|    24.9.0    |   22.18.0    |    0.12.6    |    0.11.4    |
|    24.8.0    |   22.17.1    |    0.12.5    |    0.11.3    |
|    24.7.0    |   22.17.0    |    0.12.4    |    0.11.2    |
|    24.6.0    |   22.16.0    |    0.12.3    |    0.11.1    |
|    24.5.0    |   22.15.1    |    0.12.2    |    0.11.0    |
|    24.4.1    |   22.15.0    |    0.12.1    |    0.9.12    |
|    24.4.0    |   22.14.0    |    0.12.0    |    0.9.11    |
|    24.3.0    |   22.13.1    |   0.10.48    |    0.9.10    |

This is a partial list. For a complete list, visit https://nodejs.org/en/download/releases
PS C:\Users\Administrator> nvm install 24.13.0
Downloading node.js version 24.13.0 (64-bit)...
Extracting node and npm...
Complete
Installation complete.
If you want to use this version, type:

nvm use 24.13.0
PS C:\Users\Administrator> nvm ls

    24.13.0
PS C:\Users\Administrator> node -v
node : 无法将“node”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确
,然后再试一次。
所在位置 行:1 字符: 1
+ node -v
+ ~~~~
    + CategoryInfo          : ObjectNotFound: (node:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\Administrator> nvm use 24.13.0
Now using node v24.13.0 (64-bit)
PS C:\Users\Administrator> node -v
v24.13.0

3:继续安装

PS D:\openclaw> node -v
v24.13.0
PS D:\openclaw> powershell -ExecutionPolicy Bypass -Command "iwr -useb https://openclaw.ai/install.ps1 | iex"

  OpenClaw Installer

[OK] Windows detected
[OK] Node.js v24.13.0 found

Error: Git is required to install OpenClaw.
Install Git for Windows:
  https://git-scm.com/download/win
Then re-run this installer.
PS D:\openclaw>

4: 需要安装git

https://git-scm.com/install/windows

下载地址git点击下载

Logo

小龙虾开发者社区是 CSDN 旗下专注 OpenClaw 生态的官方阵地,聚焦技能开发、插件实践与部署教程,为开发者提供可直接落地的方案、工具与交流平台,助力高效构建与落地 AI 应用

更多推荐