Install Guide5 min read ยท macOS

How to Install OpenClaw โ€” Complete Setup Guide

OpenClaw is a self-hosted AI assistant that connects Claude, GPT-4, or Gemini to WhatsApp or Telegram โ€” running entirely on your own computer. This guide walks you through installation from scratch.

Before you start

  • A Mac running macOS (Windows/Linux support coming soon)
  • An AI subscription or API key โ€” Claude Pro, OpenAI, or Gemini
  • Your phone with WhatsApp or Telegram installed
  • About 5 minutes
1

Get your AI API key

OpenClaw connects to your AI provider. You'll need a subscription or API key. We recommend Claude โ€” it's the best for agent work.

2

Run the install script

Use the Claw Academy setup wizard to get a personalized install script โ€” it's tailored to your role (founder, developer, content creator, etc.).

Option A: Use the wizard (recommended)

Go to claw-academy.ai/setup โ†’ choose your role โ†’ download your install script.

Option B: Manual install

Open Terminal (โŒ˜+Space โ†’ type Terminal) and run:

brew install node && npm install -g openclaw

The script installs Homebrew (if missing), Node.js, and OpenClaw. It may ask for your Mac password โ€” that's normal.

3

Run openclaw onboard

After installation, the onboard wizard launches automatically. It has 3 screens:

1

Choose AI provider

Select Claude, OpenAI, or Gemini. Paste your API key. Claude API keys start with sk-ant-api03-...

2

Pick a messaging channel

Choose WhatsApp (easiest), Telegram, Discord, or Signal. WhatsApp requires just scanning a QR code.

3

Scan the QR code

A QR code appears in your terminal. Open WhatsApp โ†’ Settings โ†’ Linked Devices โ†’ Link a Device โ†’ Scan. You have 60 seconds โ€” act fast. If it expires, press Enter to refresh.

Test it: Send hello from your phone. If you get a reply, you're connected. ๐ŸŽ‰

4

Install your agent team

Your AI is now live. The Claw Academy setup wizard generates a copy-paste message that tells your AI to download your agent team and set up your SOUL.md automatically.

How it works:

  1. 1. Go to /setup and complete the wizard
  2. 2. Copy the "Agent Setup Message" in Step 2
  3. 3. Paste it in your OpenClaw chat (WhatsApp/Telegram)
  4. 4. Your AI downloads the agents and configures SOUL.md automatically

Frequently asked questions

What is OpenClaw?

OpenClaw is a self-hosted AI assistant platform that connects Claude, GPT-4, or Gemini to messaging apps like WhatsApp and Telegram. Unlike ChatGPT, it runs on your own computer with persistent memory.

Is OpenClaw free?

OpenClaw itself is free and open source. You need your own AI API key (Claude, OpenAI, or Gemini) which has its own cost. Gemini has a free tier. The Claw Academy setup guide is free.

What is SOUL.md?

SOUL.md is a file that gives your AI a persistent identity and personality. It's like a job description for your AI โ€” making it consistent and purposeful across every conversation.

Can I connect OpenClaw to WhatsApp?

Yes. Choose WhatsApp during the onboard wizard. Scan the QR code via WhatsApp โ†’ Settings โ†’ Linked Devices โ†’ Link a Device. You have 60 seconds to scan. If it expires, press Enter for a new one.

Does it work on Windows?

Not yet. OpenClaw currently supports macOS. Windows and Linux support is coming soon.

Ready to install?

Use the wizard to get a personalized setup script for your role.

Start Setup Wizard