Skip to content
广告 · 本站推荐广告

本地源码安装

如果需要修改核心代码,可选择源码安装方式。

步骤1:克隆源码

bash
git clone https://github.com/openclaw/openclaw.git
cd openclaw

步骤 2:安装依赖

配置国内npm镜像

bash
npm config set registry https://registry.npmmirror.com
npm install

步骤 3:构建项目

bash
npm run build

步骤 4:全局链接

bash
npm link

安装完成后即可使用openclaw全局命令,后续操作和一键安装版一致。

最后更新:

基于MIT协议开源 | 内容翻译自 官方文档,同步更新