powershell安装openclaw
Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。
尝试新的跨平台 PowerShell https://aka.ms/pscore6 PS C:\Users\U937> openclaw --version openclaw : 无法将“openclaw”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保
路径正确,然后再试一次。
所在位置 行:1 字符: 1
- openclaw --version
-
+ CategoryInfo : ObjectNotFound: (openclaw:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\U937> git --version
git version 2.48.1.windows.1
PS C:\Users\U937> node -v
v22.14.0
PS C:\Users\U937> npm -v
11.5.2
PS C:\Users\U937> iwr -useb https://openclaw.ai/install.ps1 | iex
OpenClaw Installer
[OK] Windows detected
[OK] Node.js v22.14.0 found
[*] Installing OpenClaw (openclaw@latest)...
[OK] OpenClaw installed
OpenClaw installed successfully (OpenClaw 2026.3.12 (6472949))!
The lobster has landed. Your terminal will never be the same.
Starting setup...
openclaw requires Node >=22.16.0.
Detected: node 22.14.0 (exec: D:\Program Files\nodejs\node.exe).
PATH searched: C:\Users\U937.local\bin;D:\Program Files\Java\jdk-17\bin;d:\ide\cursor\resources\app\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.9\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.9\libnvvp;D:\PROGRA2\Borland\CBUILD1\Bin;D:\PROGRA2\Borland\CBUILD1\Projects\Bpl;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;d:\Program Files\Git\cmd;D:\Program Files\nodejs;D:\ide\gradle-8.6\bin;D:\ide\Android Studio\plugins\android-ndk;D:\phpstudy_pro\Extensions\composer2.5.8;D:\phpstudy_pro\Extensions\php\php8.2.9nts;D:\phpstudy_pro\Extensions\MySQL5.7.26\bin;C:\Users\U937.cargo\bin;D:\Python\Python3133\Scripts;D:\Python\Python3133;C:\Users\U937\AppData\Local\Microsoft\WindowsApps;d:\IDE\PyCharm 2024.3.5\bin;C:\Users\U937\AppData\Roaming\npm;D:\Program Files (x86)\Micro;C:\Program Files\Tailscale;D:\Android\Sdk\platform-tools;C:\Program Files\Docker\Docker\resources\bin;D:\ide\go\bin;C:\Program Files\GitHub CLI;D:\code\c17\ulity\clangd\clangd_21.1.8\bin;D:\ide\mingw64\bin;D:\ide\cursor\resources\app\bin;D:\install\pro\flutter\bin;D:\ide;C:\Users\U937\AppData\Local\Programs\Python\Launcher;C:\Users\U937\scoop\shims;D:\ide\Kiro\bin;D:\ide\Lingma\bin;D:\ide\Qoder\bin;D:\ide\Antigravity\bin;C:\Users\U937\AppData\Local\Microsoft\WinGet\Links
Install Node: https://nodejs.org/en/download
Upgrade Node and re-run openclaw.
PS C:\Users\U937>
下载https://nodejs.org/dist/v24.14.0/node-v24.14.0-x64.msi
浙公网安备 33010602011771号