安装Nodejs

下载地址:https://nodejs.org/zh-cn/download

安装

管理员运行powershell

在终端中运行执行命令

1
2
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser 
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

如果有对应VPN,可以在终端打开代理,因为openclaw 是国外软件
我这里使用的v2ray

1
2
3
4
5
6
7
8
set http_proxy=http://127.0.0.1:7897
set https_proxy=http://127.0.0.1:7897
set all_proxy=socks5://127.0.0.1:7897

set HTTP_PROXY=http://127.0.0.1:7897
set HTTPS_PROXY=http://127.0.0.1:7897
set ALL_PROXY=socks5://127.0.0.1:7897

一键安装

复制命令到窗口,并执行:

1
iwr -useb https://openclaw.ai/install.ps1 | iex

显示安装成功: