Work in Progress: This guide is being actively developed. Some information may change.

Installation Guide

Everything you need to install ClawdBot on your system.

Prerequisites

Platform Notes

Windows: WSL2 (Ubuntu) is strongly recommended. Native Windows works but some features may be limited. Install WSL2: wsl --install
macOS: If building from source, install Xcode Command Line Tools: xcode-select --install

Installation Methods

One-Line Installer (Recommended)

Fastest way to get started:

macOS / Linux / WSL2
curl -fsSL https://clawd.bot/install.sh | bash
Windows PowerShell
iwr -useb https://clawd.bot/install.ps1 | iex

NPM / PNPM

Install globally via package manager:

npm
npm install -g clawdbot
pnpm
pnpm add -g clawdbot

Build from Source

For developers who want full control:

git clone https://github.com/clawdbot/clawdbot.git
cd clawdbot
pnpm install
pnpm ui:build
pnpm build

Verify Installation

clawdbot --version

You should see the version number. If you get "command not found":

  1. Close and reopen your terminal
  2. Check npm global bin is in PATH: npm config get prefix
  3. Add that path + /bin to your shell profile
Success? Continue to Setup & Configuration

Troubleshooting

Node.js version error

ClawdBot requires Node.js 22+. Use nvm to manage versions:

nvm install 22
nvm use 22

Permission denied (Linux/macOS)

Fix npm global permissions:

mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

Windows: command not found

  1. Close and reopen PowerShell
  2. Restart your computer
  3. Or use WSL2 instead (recommended)

Still stuck?

Run diagnostics and share the output:

clawdbot status --all

Get help on Discord or GitHub Issues.

Next Steps