🦞 OPENCLAW 🦞
██░▄▄▄░██░▄▄░██░▄▄▄██░▀██░██░▄▄▀██░████░▄▄▀██░███░██
██░███░██░▀▀░██░▄▄▄██░█░█░██░█████░████░▀▀░██░█░█░██
██░▀▀▀░██░█████░▀▀▀██░██▄░██░▀▀▄██░▀▀░█░██░██▄▀▄▀▄██
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

- 2026-03-10: openclaw国内爆火,更新文章。

1. 安装 Openclaw

目前官方安装脚本自动配置安装环境, 所以直接安装即可。

curl -fsSL https://openclaw.ai/install.sh | bash
openclaw --version

2.首次配置向导

进入配置向导。

openclaw onboard --install-daemon

3. doctor检查

openclaw doctor

4. 启动

openclaw gateway start
/
openclaw gateway restart

状态检查

openclaw gateway status
openclaw gateway health

更改配置

vim ~/.openclaw/openclaw.json

BOT配对

先给bot发消息, 之后在shell执行Pairing code

openclaw pairing approve telegram **Pairing code** 

如果需要增加代理

  "channels": {
    "telegram": {
        ...
	  "streamMode": "partial",
	  "proxy": "http://192.168.1.1:22222"
    }
  },

配置模型

# 切换模型
openclaw models set xxx

# 添加模型
openclaw configure --section model

# 查看模型列表
openclaw models list