本地源码安装
如果需要修改核心代码,可选择源码安装方式。
步骤1:克隆源码
bashgit clone https://github.com/openclaw/openclaw.git
cd openclaw
1
2
步骤 2:安装依赖
配置国内npm镜像
bashnpm config set registry https://registry.npmmirror.com
npm install
1
2
步骤 3:构建项目
步骤 4:全局链接
安装完成后即可使用openclaw全局命令,后续操作和一键安装版一致。