
由于近期龙虾AI非常的活,我也想动手试试看。
OpenClaw官网:OpenClaw — Personal AI Assistant
使用的是windows系统安装,官网提供了两个安装命令,
一个是使用powershell命令安装:iwr -useb https://openclaw.ai/install.ps1 | iex
一个是使用cmd命令安装:curl -fsSL https://openclaw.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
我这里就使用powershell安装它。

但是等待一会出现了一堆错:

改使用npm安装openclaw,命令:
# Install OpenClaw 安装命令npm i -g openclaw# Meet your lobster 启动命令openclaw onboard

第一种报错:
PS C:\openclaw> npm i -g openclaw
npm error code 128
npm error An unknown git error occurred
npm error command git –no-replace-objects ls-remote ssh://git@github.com/whiskeysockets/libsignal-node.git
npm error git@github.com: Permission denied (publickey).
npm error fatal: Could not read from remote repository.
npm error
npm error Please make sure you have the correct access rights
npm error and the repository exists.原因:通过 Git 直接从 GitHub 拉取源码编译,而你的电脑目前没有配置 SSH Key,导致 GitHub 拒绝了你的连接
这种报错的解决方案:
1.先输入:git -v 查看git的版本,如果没有git,那么就需要安装git
2.输入:ssh-keygen -t ed25519 -C “123456@qq.com” 注意:123456@qq.com 这里填写你的github邮箱
3.一直按回车,复制:Your public key has been saved in C:\Users\xxx/.ssh/id_ed25519.pub 用记事本打开这个文件,然后复制里面的内容到SSH and GPG keys 新增SSH Key
解决这个报错就是本地生成一个SSH Key,然后在github账号中填写本地生成的SSH Key就可以了。
第二种报错:
PS C:\openclaw> npm i -g openclaw
npm error code 128
npm error An unknown git error occurred
npm error command git –no-replace-objects ls-remote ssh://git@github.com/whiskeysockets/libsignal-node.git
npm error fatal: unable to access ‘https://github.com/whiskeysockets/libsignal-node.git/’: schannel: SEC_E_UNTRUSTED_ROOT (0x80090325)原因:SEC_E_UNTRUSTED_ROOT 证书信任的问题。
这种报错的解决方案:
禁用SSL证书验证,在powershell命令行中输入:git config –global http.sslVerify false 注意:如果安装完了以后,记得再执行:git config –global http.sslVerify true 改回来
再次执行:npm i -g openclaw命令的时候,没报错了

如果安装完了一定要新开一个powershell窗口,否则执行:openclaw -v 会失败的。
验证openclaw是否安装成功,在新开的窗口中,执行:openclaw -v 我这里显示的是:2026.3.2

然后再执行:openclaw onboard 启动龙虾

我使用kimi大模型和飞书的大概步骤,我就不翻译了:
1. I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?
选择:yes
2.Onboarding mode
选择:QuickStart
3.Config handling
选择:Use existing values
4.Model/auth provider
选择:Moonshot AI (Kimi K2.5)
5.Moonshot AI (Kimi K2.5) auth method
选择:Kimi API key (.cn)
6.How do you want to provide this API key?
选择:Paste API key now
7.Enter Moonshot API key (.cn)
sk-xxxxxxxxxxxx 注意,这里就是你在kimi申请的API Key,记得 一定要充值,不充值到时候对话不会回复你消息的。
8.Model configured
Default model set to moonshot/kimi-k2.5
9.Default model
Keep current (moonshot/kimi-k2.5)
10.Channel status
Feishu/Lark (飞书)
11.Install Feishu plugin?
这里会自动下载飞书,这时要先去飞书官网注册账号
1.在飞书后台创建应用(拿到应用的App ID和App Secret)
2.飞书应用的权限要开这三个:
- 获取用户基本信息 contact:user.base:readonly
- 获取与更新群组信息 im:chat
获取与发送单聊、群组消息 im:message3.在添加应用能力页面,添加机器人4.发布应用最后的状态应该是这样




评论(0)