乐于分享
好东西不私藏

OpenClaw 小龙虾安装教程

OpenClaw 小龙虾安装教程
1.下载 “虾壳” Cherry Studio
官网: https://www.cherry-ai.com/download

2. 登录OpenRouter 官网注册,创建API KEY

 官网: https://openrouter.ai/

3. 配置  OpenRouter 的模型和秘钥
粘贴模型名称:
stepfun/step-3.5-flash:free
配置秘钥
4.安装小龙虾
安装前先安装node.js 和git

node.js官网:https://nodejs.org/zh-cn

配置node.js缓存和数据位置

npm config set prefix "D:\nodejs\node_global" npm config set cache "D:\nodejs\node_cache"

配置node.js镜像

npm config set registry http://registry.npm.taobao.org/yarn config set registry http://registry.npm.taobao.org/

接着配置git

当出现以下报错时,说明npm 在安装依赖时,git 的SSH 公钥没有权限访问该仓库

控制台输入命令

ssh-keygen -t ed25519 -C "your_email@example.com"

默认生成~/.ssh/id_ed25519(私钥)和 ~/.ssh/id_ed25519.pub(公钥)

查看公钥

cat ~/.ssh/id_ed25519.pub

将内容粘贴到github 上

5. 全部成功后即可启动小龙虾