Install
Runtime baseline: Node >=22.Recommended (installer script)
clawdbot CLI globally via npm and then starts onboarding.
See installer flags:
Install method: npm vs git
The installer supports two methods:npm(default):npm install -g clawdbot@latestgit: clone/build from GitHub and run from a source checkout
CLI flags
--install-method npm|git--git-dir <path>(default:~/clawdbot)--no-git-update(skipgit pullwhen using an existing checkout)--no-prompt(disable prompts; required in CI/automation)--dry-run(print what would happen; make no changes)--no-onboard(skip onboarding)
Environment variables
Equivalent env vars (useful for automation):CLAWDBOT_INSTALL_METHOD=git|npmCLAWDBOT_GIT_DIR=...CLAWDBOT_GIT_UPDATE=0|1CLAWDBOT_NO_PROMPT=1CLAWDBOT_DRY_RUN=1CLAWDBOT_NO_ONBOARD=1SHARP_IGNORE_GLOBAL_LIBVIPS=0|1(default:1; avoidssharpbuilding against system libvips)
Install from GitHub (from source)
Use this if you want a source checkout you can edit, or you preferclawdbot update.
- Clones
https://github.com/clawdbot/clawdbot.gitinto~/clawdbot(or--git-dir) - Runs
pnpm install,pnpm ui:build(best-effort), andpnpm build - Adds a wrapper at
~/.local/bin/clawdbotpointing at<checkout>/dist/entry.js
Global install (manual)
If you already have Node:sharp fails to install, force prebuilt binaries: