#获取权限 sudo -i
启动openclaw
openclaw gateway
Linux系统安装代码
# 更新系统
sudo apt update && sudo apt upgrade -y
# 安装OpenClaw(官方Linux脚本)
curl -fsSL https://openclaw.ai/install.sh | bash
C:\Program Files\nodejs
win电脑安装openclaw
powershell -c "irm https://openclaw.ai/install.ps1 | iex"
win解除限制
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
win切换到用户目录
cd C:\Users\admin
win电脑安装
添加agents(增加一个工人)
openclaw agents add writer
微信插件
npx -y @tencent-weixin/openclaw-weixin-cli@latest install
一个新的设备访问openclaw的时候出现:
pairing required
登录22.出入查看新设备验证
openclaw devices list
Request 下面就是那个设备的id(aa1a8daa-3404-82a1-87c0-0269f5045134),
批准它:
openclaw devices approve aa1a8daa-3404-82a1-87c0-0269f5045134