Install Clawdbot on macOS

Get Clawdbot up and running on your Mac in 5 minutes β€” supports both Intel and Apple Silicon

Easy ⏱️ 5 min

Prerequisites

Before you begin, make sure your Mac meets these requirements:

  • macOS 12.0 (Monterey) or later
  • Node.js 18+ (Node.js 22 recommended)
  • At least 500MB free disk space

πŸ’‘ Tip: If you don’t have Node.js installed yet, follow the Node.js installation steps below first.


Step 1: Install Node.js

Skip this step if you already have Node.js 18 or later installed.

Open the Terminal app and run:

# Install Homebrew if you don't have it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install Node.js
brew install node

Option B: Using the Official Installer

  1. Visit the Node.js website
  2. Download the LTS version (recommended)
  3. Double-click the downloaded .pkg file
  4. Follow the installation wizard

Verify your installation:

node --version
# Should display v18.x.x or higher

Step 2: Install Clawdbot

Run the following command in Terminal:

npm install -g clawdbot

Once installation completes, verify it worked:

clawdbot --version

If you see a version number, you’re good to go!


Step 3: Run the Setup Wizard

Clawdbot includes an interactive setup wizard to help you configure everything:

clawdbot onboard

The wizard will guide you through:

  1. AI Provider Setup β€” Choose Claude, GPT-4 or another model
  2. API Key Configuration β€” Enter your API key
  3. Messaging Channels β€” Connect WhatsApp, Telegram, etc.

Just follow the on-screen prompts.


Step 4: Start the Gateway

After configuration, start the Clawdbot gateway:

clawdbot gateway

You should see output similar to:

🦞 Clawdbot Gateway v2026.1.24
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
βœ“ Gateway running on localhost:18789
βœ“ WebChat available at http://localhost:18789

Next Steps

Congratulations β€” Clawdbot is now installed! Here’s what to do next:


Troubleshooting

npm install fails with EACCES

If you encounter permission errors, try:

sudo npm install -g clawdbot

Or configure npm to use a user-owned directory for global packages.

Apple Silicon (M1/M2/M3/M4) Compatibility

Clawdbot fully supports Apple Silicon β€” no additional configuration needed.

Firewall Prompt

The first time you run Clawdbot, macOS may ask for firewall permissions. Click Allow to ensure the gateway works properly.