安装/升级到 OpenClaw
curl -fsSL https://openclaw.bot/install.sh | bash -s -- --no-onboard
装完后确认:
openclaw --version
命令找不到,就修复下PHAT
echo 'export PATH="$(npm prefix -g)/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
hash -r
配置设置:
openclaw onboard --install-daemon
参考上一篇国内用户本地部署clawdbot
启动/查看网关服务(装完 daemon 后)
systemctl --user enable --now openclaw-gateway.service
systemctl --user status openclaw-gateway.service --no-pager
openclaw gateway status
修复 Critical:credentials 目录权限
chmod 700 /home/<用户名>/.openclaw/credentials
openclaw security audit

说些什么吧!