- 克隆仓库。
- 执行
npm install。 - 将
.env.example复制为.env,并填写飞书和 Codex 配置。 - 执行
npm run init:local-guidance。 - 执行
npm run dev,或用npm run service:install开常驻模式。 - 想一条命令完成本地准备和常驻安装时,执行:
npx -y @surlymochan/codexclaw bootstrap --servicenpm run init:local-guidance 只会创建缺失的本地文件,详细说明见 docs/local-guidance.md。
只想先准备本地环境,不安装常驻服务时,把 --service 去掉:
npx -y @surlymochan/codexclaw bootstrap