惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

蒙需

从亚洲域名争议裁决角度看域名 – 蒙需 监狱服刑人员法律服务产品 – 蒙需 从中国域名争议裁决角度看域名 – 蒙需 分享一个律师(律所)案件卷宗归档(打包)应用 – 蒙需 律师事务所案件管理系统部署教程 我开发了一个律师事务所案件管理系统 – 蒙需 何止医者有仁心 – 蒙需 踩坑教程!WiFi 网卡 MTU 值导致无法访问必应 – 蒙需 优化交互方式让法律 AI 更精准专业 – 蒙需 设想一个人运维一个律师团队(获客篇) – 蒙需
Windows 和 Debian GNU/Linux 安装 Openclaw 接入 QQ 机器人极简教程 – 蒙需
2026-03-09 · via 蒙需

写在前面:安装 Openclaw,Linux 和 Mac 始终比 Windows 安装更简便,因为 Windows 要解决的环境配置问题始终比 Linux 和 Mac 要多。

安装 Openclaw 必备的三个基础环境是:Node.js、npm、git,使用如下命令查看是否有版本号:

node -v(显示版本号即为成功)
npm -v(显示版本号即为成功)
git -v(显示版本号即为成功)

如果提示错误,需要先解决错误问题,否则容易导致后续安装失败。配置完三个基础环境后,进入正式的安装步骤,

1.安装 openclaw,命令:npm install -g openclaw,安装完成输入:openclaw -v,如果输入版本号,如:OpenClaw 2026.3.8 (3caab92),代表安装完成。

2.配置 openclaw 功能,命令:openclaw onboard,会出现一段安全警示,并提示: I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?输入 y,进入下一步。

3.Onboarding mode 选择 QuickStart

4.Model/auth provider,我选择的是 Qwen,你也可以选择其它通用大模型,之后会自动打开浏览器注册,注册好后回到命令行。

5.Qwen OAuth complete 选择 Default model set to qwen-portal/coder-model

6.Default model 选择 Keep current (qwen-portal/coder-model)

7.Select channel (QuickStart) 这里以接入 QQ 机器人为例,因选项中无此项,所以选择跳过:Skip for now

8.Search provider 选择 Skip for now

9.Configure skills now? (recommended) 选择 No

10 Enable hooks? 选择 Skip for now

11.How do you want to hatch your bot? 选择 Open the Web UI。

至此,已经以打开 Web UI 了,地址默认是 http://127.0.0.1:18789,接下来安装 Openclaw 接入 QQ 机器人。在继续下一步之前,建议先在聊天窗口中设置机器人的名字、风格等配置。

12.继续在 Powershell 中输入:openclaw plugins install @sliverp/qqbot@latest 安装 QQ 机器人

13.打开 https://q.qq.com/qqbot/openclaw/login.html,快速注册创建 QQ 机器人

14.创建 QQ 机器人后,后台会给 3 条命令,依次在 Powershell 中输入, QQ 机器人接入 Openclaw 成功, QQ 上会多出一个机器人好友。此时,可以通过 QQ 机器人给 Openclaw 发送指令了。

二、Debian GNU/Linux 安装 Openclaw 接入 QQ 机器人极简教程

相对于 Windows 安装 Openclaw,Debian GNU/Linux 和 Mac 一样,实在是太方便了。

1.安装 git 和 curl。命令:sudo apt install git curl

2.Debian GNU/Linux 包中的 Node.js 是 20.x 的版本,需要使用下面三个命令安装最新版的。

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
\. "$HOME/.nvm/nvm.sh"
nvm install 24

3.现在正式开始安装 Openclaw。

  • 一种是用前述的命令手动一步一步安装,命令:npm install -g openclaw
  • 一种是一个命令安装,一键安装命令:curl -fsSL https://openclaw.ai/install.sh | bash

4.安装完后的 Openclaw 接入 QQ 机器人的步骤同 Windows 安装。