🦞 ClawdBot · OpenClaw · Moltbot

Install ClawdBot

Complete setup guide for macOS, Windows, Linux, VPS & Docker. Get your personal AI assistant (OpenClaw / Clawd Bot) running in under 5 minutes.

✅ Free & Open Source ✅ Node.js 22+ ✅ Works on any hardware

ClawdBot Prerequisites

📦

Node.js 22+

Required runtime. The one-liner installer handles this automatically.

Download Node.js →
🔑

AI Provider Key

Anthropic API key, Claude Pro subscription, or any OpenAI-compatible provider.

Get Anthropic Key →
💬

Messaging App

WhatsApp, Telegram, Discord, Slack, Signal, or iMessage. You need at least one.

💻

Hardware

Minimum 1GB RAM, 500MB disk. Works on Mac Mini, Raspberry Pi, old laptop, or $5/mo VPS.

Recommended

⚡ One-liner Install

Works on macOS & Linux. Installs Node.js and everything else automatically.

macOS / Linux
$ curl -fsSL https://openclaw.ai/install.sh | bash
npm / pnpm (if Node.js 22+ already installed)
$ npm install -g openclaw@latest
# or: pnpm add -g openclaw@latest

After installation, run the onboarding wizard:

Start onboarding
$ openclaw onboard

💡 The onboarding wizard guides you through model/auth, workspace, channels, and daemon setup. The daemon keeps OpenClaw running 24/7 automatically.

🍎 Install on macOS

Works on both Intel and Apple Silicon (M1/M2/M3/M4). Mac Mini is a popular choice for 24/7 operation.

1

Install via one-liner (recommended)

$ curl -fsSL https://openclaw.ai/install.sh | bash
2

Or install via npm/pnpm (if Node.js 22+ already installed)

$ npm install -g openclaw@latest
3

Run onboarding wizard

The wizard sets up your model/auth, workspace, channels, and installs the daemon (LaunchAgent) so OpenClaw runs 24/7.

$ openclaw onboard
💡 Mac Mini tip: A Mac Mini M4 ($599) is the most popular hardware for running ClawdBot 24/7. It's quiet, energy-efficient, and powerful enough to run local AI models.

🪟 Install on Windows

Windows requires WSL2 (Windows Subsystem for Linux 2). Native Windows is not supported — WSL2 is strongly recommended by the OpenClaw team.

⚠️ WSL2 required: OpenClaw does not run natively on Windows. You must use WSL2. Windows platform guide.
1

Enable WSL2 (run in PowerShell as Administrator)

PS> wsl --install

Restart your computer after WSL2 installs.

2

Inside WSL2, run the Linux installer

$ curl -fsSL https://openclaw.ai/install.sh | bash
3

Run onboarding wizard

$ openclaw onboard

🐧 Install on Linux

Works on Ubuntu, Debian, Fedora, Arch, and most other distros. Minimum 1GB RAM.

1

Run the installer

$ curl -fsSL https://openclaw.ai/install.sh | bash
2

Run onboarding

$ openclaw onboard
3

Run as systemd service (for 24/7 operation)

The onboarding wizard installs the systemd user service automatically. To install it manually:

$ openclaw gateway install

🐳 Install with Docker

Best for containerized environments. Requires Docker and Docker Compose.

1

Clone the repository

$ git clone https://github.com/openclaw/openclaw.git
$ cd openclaw
2

Run the Docker setup script

$ ./docker-setup.sh
3

Start with Docker Compose (auto-restart enabled)

$ docker compose up -d

The --restart unless-stopped flag is included by default, so ClawdBot restarts automatically after reboots.

☁️ Deploy on VPS

Run ClawdBot 24/7 on a cloud server. A $5/month VPS is enough for most users.

Recommended Providers

  • Hetzner Cloud — from €3.49/mo (best value)
  • DigitalOcean — from $4/mo
  • Vultr — from $2.50/mo
  • Linode (Akamai) — from $5/mo

Minimum Specs

  • 1 vCPU
  • 1GB RAM
  • 10GB SSD
  • Ubuntu 22.04 LTS
1

SSH into your VPS and run the installer

$ curl -fsSL https://openclaw.ai/install.sh | bash
2

Run onboarding

$ openclaw onboard
3

Enable service for auto-restart

The onboarding wizard installs the systemd user service automatically. To install it manually:

$ openclaw gateway install

🍓 Install on Raspberry Pi

Raspberry Pi 4 or 5 works great as a low-power, always-on ClawdBot server. Raspberry Pi 3 is the minimum.

1

Flash Raspberry Pi OS (64-bit) and SSH in

Use Raspberry Pi Imager to flash the OS. Enable SSH in the imager settings.

2

Run the installer

$ curl -fsSL https://openclaw.ai/install.sh | bash
3

Run onboarding and enable service

The onboarding wizard installs the systemd user service automatically.

$ openclaw onboard
💡 Raspberry Pi tip: Pi 4 with 4GB RAM is the sweet spot. Add a USB SSD instead of SD card for better reliability and speed.

💬 Connect ClawdBot to Your Messaging App

After installation, connect at least one messaging platform. WhatsApp and Telegram are the most popular.

📱

WhatsApp

Scan a QR code via Linked Devices — same as WhatsApp Web. Configure via the onboarding wizard or add to your config file.

$ openclaw onboard
✈️

Telegram

Create a bot via @BotFather, get the token, and add it to your config. Fastest setup — takes 2 minutes.

$ openclaw onboard
🎮

Discord

Create a Discord application and bot token in the Developer Portal, then configure via the wizard.

$ openclaw onboard
💼

Slack

Create a Slack app, install it to your workspace, and add the bot/app tokens to your config.

$ openclaw onboard

ClawdBot FAQ — Common Install Questions

What's the difference between ClawdBot, Clawd Bot, Moltbot, and OpenClaw?

They're all the same project. It launched as Clawd Bot (also written ClawdBot) in early 2025, was briefly renamed to Moltbot after a trademark request from Anthropic, then settled on OpenClaw. The CLI command is now `openclaw`. This site covers all names since many users still search for the original ones.

Do I need a Mac Mini to run ClawdBot?

No. ClawdBot runs on any machine with 1GB RAM and Node.js 22+. A Mac Mini is popular for 24/7 home use, but a $5/month VPS, Raspberry Pi 4, or any old laptop works just as well.

Is ClawdBot free?

Yes, ClawdBot (OpenClaw) is 100% free and open source (MIT license). You only pay for your AI provider — Anthropic API usage, or reuse your existing Claude Pro/Max subscription via OAuth.

Is it safe to run on my main computer?

ClawdBot has system access (files, shell commands, browser). For security, it's recommended to run it on a dedicated machine, VPS, or Raspberry Pi rather than your primary computer.

What AI models does it support?

Claude (Anthropic), GPT-4 / GPT-4o (OpenAI), and any OpenAI-compatible API including local models via LM Studio or Ollama.

How do I update ClawdBot?

Re-run the website installer — it detects existing installs and upgrades in place:

$ curl -fsSL https://openclaw.ai/install.sh | bash

Or update via npm/pnpm directly:

$ pnpm add -g openclaw@latest

Ready to get started?

Join thousands of users running their own personal AI assistant.

Learn more about ClawdBot features or explore what you can do with your personal AI assistant.