联系管理员

开通文章发布权限

扫码 添加微信
微信图片
电话:通话中... QQ:2738829823

部署openclaw

部署openclaw

短短一个月内,一个名为 OpenClaw(曾用名 Clawdbot、Moltbot)的开源项目,在 GitHub 上狂揽超过 14 万颗 Star,其热度甚至盖过了多家大模型公司的新品发布。
接下来我写的教程很菜很菜!!! 请大佬们观摩观摩,希望对新手也能有帮助。

基础部署教程

 

[image

安装语法

##Macos/Linux
One-liner:curl -fsSL https://openclaw.ai/install.sh | bash
npm:
# Install OpenClaw
npm i -g openclaw
# Meet your lobster
openclaw onboard
Hackable
# For those who read source code for fun
curl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method git

##Windows
One-liner:iwr -useb https://openclaw.ai/install.ps1 | iex
npm:
# Install OpenClaw
npm i -g openclaw
# Meet your lobster
openclaw onboard
Hackable
# For those who read source code for fun
curl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method git

详细安装命令请看官方:https://openclaw.ai/

MAC 部署

我是可视化直接下载 mac 现成的
[image

安装完是图片这样子
[image

但是你要配置模型接口,一般是自定义的接口,打开终端输入 openclaw config 配置 model 和接入第三方聊天工具:QQ,Telegram
[image

[image

配置模型只要第二个:Model
[image

自定义接口选择 Custom Provider
API Base URL 是自定义链接
[image

API key
[image

选择第一个回车,然后填入对应的密钥或者 key
[image

Endpoint compatibility 我的接口是选择第二个 Anthropic-compatible
[image

然后输入模型名称:gpt-5.4 claude-opus-4.6
[image

然后继续下一步就能完成了

接入 QQ

q.qq.com

QQ 开放平台|机器人列表

 

[image

[image

按照 openclaw 原生接入流程就能接上 QQ 了

接入 telegram

 

[image

选中 Channels 回车
[image

继续回车
[image

看到 telegram
[image

[image

然后创建机器人把这个 token:8620204583:AAHtVQCUsQL9vyACF7MubRe3ASoe7rbkn0M 填入到里面
[image

确认无误点击完成
[image

进入配对模式 系统会询问安全策略,选择 yes,默认使用配对模式
[image

选择 配对(Pairing)。
[image

继续
[image

完成配对 在终端执行以下命令,将 openclaw 与你的 Bot 绑定:openclaw pairing approve telegram 你的配对码看到成功提示即表示配对完成。
[image

评论

快捷导航

把好文章收藏到微信

打开微信,扫码查看

关闭

还没有账号?立即注册