openClaw安装--mac/Linux
1、打开命令行执行:curl -fsSL https://clawd.org.cn/install.sh | bash

选择Y安装node.js
或者进入官网:https://nodejs.org/en/download 下载安装node.js

2、然后在执行命令:curl -fsSL https://clawd.org.cn/install.sh | bash

这里选择方式二:命令行依次执行:
mkdir -p ~/.npm-global
npm config set prefix ~/.npm-global
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
3、在执行命令:curl -fsSL https://clawd.org.cn/install.sh | bash
等待安装完成,选择yes,

4、安装引导模式选择:快速开始
5、这里准备配置飞书,选择miniMax模型,在选择minimax oauth,在选择cn

6、登陆minimax开放平台,选择授权,回到命令行,选择保持当前

7、登陆飞书开放平台,创建机器人

复制appID和appsecret

8、钩子选择session-memory(空格选中)

9、您想如何启动您的机器人,选择:打开网页;
10、飞书各项配置
事件与回调

添加事件:点击添加事件 搜索rece

10.1、权限管理配置,打开链接:http://clawd.org.cn/channels/feishu.html 选择消息通知--选择飞书--找到配置应用权限,点击如图复制按钮
{ "scopes": { "tenant": [ "aily:file:read", "aily:file:write", "application:application.app_message_stats.overview:readonly", "application:application:self_manage", "application:bot.menu:write", "cardkit:card:write", "contact:contact.base:readonly", "contact:user.employee_id:readonly", "corehr:file:download", "docs:document.content:read", "event:ip_list", "im:chat", "im:chat.access_event.bot_p2p_chat:read", "im:chat.members:bot_access", "im:message", "im:message.group_at_msg:readonly", "im:message.group_msg", "im:message.p2p_msg:readonly", "im:message:readonly", "im:message:send_as_bot", "im:resource", "sheets:spreadsheet", "wiki:wiki:readonly" ], "user": ["aily:file:read", "aily:file:write", "im:chat.access_event.bot_p2p_chat:read"] } }

10.2、打开飞书开放平台,选择权限管理,选择批量导入,把上面复制的内容导入进去,申请开通权限;

10.3、发布应用
- 在 版本管理与发布 页面创建版本
- 提交审核并发布
- 等待管理员审批(企业自建应用通常自动通过)
10.4、飞书打开应用

给机器人随便发送一个消息,然后执行它回复你的最后一行的命令;(例子:openclaw-cn pairing approve feishu *******)
详细可参考:http://clawd.org.cn/channels/feishu
如果需要添加其它模型:命令行执行:openclaw-cn configure
打开openclawl聊天,运行命令:openclaw-cn dashboard

浙公网安备 33010602011771号