OpenClaw 使用记录。
类似:
| 名称 | 编写语言 |
|---|---|
| nanobot | Python |
| ironclaw | Rust |
安装
[[Linux]] 和 [[macOS]] 使用 [[curl]] 命令安装:
curl -fsSL https://openclaw.ai/install.sh | bash[[Windows]] ( [[PowerShell]] ) 使用 [[iwr]] 命令安装:
iwr -useb https://openclaw.ai/install.ps1 | iex🦞 OpenClaw Installer IPC, but it's your phone.
✓ Detected: linux
Install planOS: linuxInstall method: npmRequested version: latest
[1/3] Preparing environment· Node.js not found, installing it now· Installing Node.js via NodeSource· Installing Linux build tools (make/g++/cmake/python3)✓ Build tools installed✓ Node.js v22 installed· Active Node.js: v22.22.1 (/usr/bin/node)· Active npm: 10.9.4 (/usr/bin/npm)
[2/3] Installing OpenClaw✓ Git already installed· Configuring npm for user-local installs✓ npm configured for user installs· Installing OpenClaw v2026.3.11✓ OpenClaw npm package installed✓ OpenClaw installed
[3/3] Finalizing setup
! PATH missing npm global bin dir: /home/double_u/.npm-global/bin This can make openclaw show as "command not found" in new terminals. Fix (zsh: ~/.zshrc, bash: ~/.bashrc): export PATH="/home/double_u/.npm-global/bin:$PATH"
🦞 OpenClaw installed successfully (OpenClaw 2026.3.11 (29dc654))!Settled in. Time to automate your life whether you're ready or not.
· Starting setup使用
连接 Telegram
- 打开 Telegram 客户端;
- 点击搜索
BotFather,选择有蓝色✔的那个; - 在聊天框中输入
/newbot - 输入机器人的显示名称;
- 再继续输入一个以
_bot结尾的 ID
在 OpenClaw 配置成功后,
- 在聊天界面用前面创建的 ID 搜索
- 输入 /start 试试
Search provider
- brave:没有免费额度
hooks
- boot-md: 启动引导,在 OpenClaw Gateway 启动时自动运行
- bootstrap-extra-files:额外文件注入,在 Agent 初始化(Bootstrap)阶段 注入额外的上下文文件
- command-logger:命令日志,实时记录所有命令执行的详细日志
- session-memory:会话记忆保存,在会话结束或切换时自动保存记忆
连接飞书
连接微信
下方代码也可以在
微信 -> 我 -> 设置 -> 插件 -> 微信ClawBot中查看
- 运行
npx -y @tencent-weixin/openclaw-weixin-cli@latest install - 安装完成后,出现二维码,通过微信扫一扫关联
注:微信版本需要 8.0.7 以上。
命令
在前台运行网关:openclaw gateway —port 18789