2026年3月16日星期一

open claw setup

  1.  安装 Node.js ≥18

  1. 安装 pnpm

  2. 全局安装 OpenClaw

  3. 运行 openclaw gateway

  4. 编辑 ~/.openclaw/openclaw.json


  • setx OPENAI_API_KEY "你的key"

    setx TELEGRAM_BOT_TOKEN "你的bot token"

  • node -v

    npm -v

  • npm install -g pnpm

  • pnpm setup

  • pnpm add -g openclaw

  • OpenClaw 2026.x.x

  • openclaw gateway

  • npx clawhub install/sync

  • openclaw node run --display-name "My Windows Node"

  • node -v

    openclaw devices list

    openclaw nodes status

    openclaw node run --host 127.0.0.1 --port 18789 --display-name "My Windows Node"

  • 如何获取open claw gateway token

  • Get-CimInstance Win32_Process |

    Where-Object {$_.CommandLine -match "gateway run"} |

    Select-Object -ExpandProperty CommandLine


  • 没有评论:

    发表评论

    注意:只有此博客的成员才能发布评论。

    D2R Will Mod

     https://bbs.d.163.com/forum.php?mod=viewthread&tid=174019384&extra=page%3D1