OpenClaw安装时常见的命令(二)✅二、网关(Gateway)管理命令
Gateway 是 OpenClaw 的核心运行时,负责连接 AI 模型、消息通道和本地系统。openclaw gateway 前台启动网关(关闭终端即停止,适合调试)openclaw gateway start 启动后台守护进程(长期运行)openclaw gateway restart 重启网关(常用于刷新机器人状态)openclaw gateway install 安装网关为系统服务(需管理员权限)openclaw gateway status 查看网关运行状态openclaw status 查看整体服务状态(含健康度、端口、上下文等)openclaw logs --follow 实时查看运行日志(排查问题必备)openclaw daemon uninstall 卸载后台守护进程(保留数据)提示:安装守护进程时建议用openclaw onboard --install-daemon,它会自动完成初始化 + 守护安装。