【AI】Mac 安装 OpenClaw 及接入飞书教程
一、安装 Nodejs必须因为 OpenClaw 至少需要运行在 node22 版本环境因此需要先安装 node 环境step1下载并安装 nvmcurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bashstep2重启终端输入命令nvm --version查看是否安装成功step3安装 node 24nvm install 24step4查看 node 版本 和 npm 版本二、安装 OpenClaw 官网地址https://openclaw.ai/方式一命令行参考官网在终端执行如下命令curl -fsSL [https://openclaw.ai/install.sh](https://openclaw.ai/install.sh) | bash方式二Github 下载 mac 对应安装包地址https://github.com/openclaw/openclaw/releases/tag/v2026.3.2三、配置 OpenClaw配置大模型以 minimax 为例会弹出官网进行登陆牢记对应设置的 api_key切忌泄漏配置想要与 OpenClaw 建立连接的 APP例如飞书等后续可单独配置配置 Agent Skills后续也可单独配置四、使用 OpenClawstep1尝试在浏览器地址栏中输入http://127.0.0.1:18789/如果访问不了可以尝试在终端输入openclaw gateway start如果还不行运行诊断命令openclaw status --all最终网页版呈现效果如下五、接入飞书step1启动 OpenClaw 对应 feishu 的插件查看当前飞书插件状态openclaw plugins list | grep feishu如果是 disabled 就执行以下命令openclaw plugins enable feishustep2在飞书开发者后台https://open.feishu.cn/ 创建应用并导入权限{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: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]}}step3创建并发布应用step4OpenClaw 对接 飞书执行以下命令#配置飞书的key和serect# 设置 appIdopenclaw configset--jsonchannels.feishu.appId你的key# 设置 appSecretopenclaw configset--jsonchannels.feishu.appSecret你的secret# 重启下openclawopenclaw gateway restartstep5飞书开放平台注册回调添加事件选择全部消息功能step6重新发布应用即可在飞书平台使用 openclaw 应用step7输入配对 codeopenclaw pairing approve feishu MDDLG4SW
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2415784.html
如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!