How to Set Up OpenClaw AI on Mac in Under 10 Minutes (Step-by-Step)
Back to Blog
AI & TechOpenClaw AIAI Setup Guide

How to Set Up OpenClaw AI on Mac in Under 10 Minutes (Step-by-Step)

May 5, 202610 min readClickWise Editorial

I was skeptical when people said OpenClaw takes 10 minutes to set up. I timed myself. It took 12 minutes and 40 seconds, including the WhatsApp connection. Here is exactly how to do it.

Most open-source AI tools have a setup process that feels like defusing a bomb. Dependencies, configuration files, environment variables, Docker containers — by the time you finish, you have forgotten why you wanted the tool in the first place. OpenClaw is refreshingly different. The onboard wizard handles almost everything.

What you'll set up in this guide

  • OpenClaw installed and running on your Mac
  • Your preferred AI model connected (Claude, GPT-4, or local)
  • WhatsApp integration ready (scan QR and go)
  • Telegram bot configured and responding
  • First AgentSkills activated for real tasks

💡 Before you start

You need Node.js installed on your Mac (version 18 or higher). If you do not have it, install it from nodejs.org or run 'brew install node' if you use Homebrew. You also need at least one AI model API key (OpenAI, Anthropic, or Google). The free tier keys work fine for testing.

Part 1: Install OpenClaw

Open your terminal. If you have never opened a terminal before, press Command + Space, type "Terminal", and hit Enter. Then type the following command and press Enter:

npm install -g openclaw@latest

This installs OpenClaw globally on your machine. It takes about 30 to 60 seconds depending on your internet speed. When it finishes, you will see a confirmation message. If you get a permission error, add "sudo" before the command and enter your Mac password when prompted.

Part 2: Run the Setup Wizard

Still in your terminal, type:

openclaw onboard

The onboard wizard is genuinely good. It walks you through each step with clear prompts and sensible defaults. Here is what it asks you:

1

Gateway configuration

Choose where OpenClaw runs. For most Mac users, local is the right choice. The wizard sets up the process manager automatically.

2

Workspace setup

Name your workspace (something like 'personal' or 'work'). This is where your conversations and settings live.

3

AI model connection

Paste your API key. The wizard detects which provider it belongs to and configures the model routing automatically.

4

Channel selection

Pick your first messaging platform. I recommend Telegram for first-timers — it is the fastest to set up and most reliable.

5

Skills activation

Choose which AgentSkills to enable. Start with the basics: file management, shell commands, and web search.

Laptop showing terminal with code

The entire setup happens in your terminal — the onboard wizard makes it surprisingly painless.

Part 3: Connect WhatsApp

WhatsApp integration is the feature that drew me to OpenClaw, and the setup is simpler than I expected. During the channel selection step (or afterwards by running openclaw channel add whatsapp), the terminal displays a QR code.

Open WhatsApp on your phone. Go to Settings, then Linked Devices, then Link a Device. Scan the QR code on your terminal screen. Done. OpenClaw now appears as a linked device, and you can message it like any other contact.

⚠️ Important: Use Node, not Bun

If you have Bun installed and it is your default runtime, switch to Node for the WhatsApp gateway. Bun is flagged as incompatible for stable WhatsApp and Telegram operation. Set the OPENCLAW_RUNTIME=node environment variable before starting.

Part 4: Connect Telegram

Telegram is the most reliable OpenClaw integration in my testing. The setup requires creating a Telegram bot first, which takes about 2 minutes:

  1. Open Telegram and search for @BotFather
  2. Send /newbot and follow the prompts to name your bot
  3. BotFather gives you an API token — copy it
  4. Paste the token into the OpenClaw wizard when it asks for your Telegram credentials
  5. Send a message to your new bot in Telegram — it should respond immediately

That is it. Your Telegram bot is now powered by whichever AI model you connected. Every message you send gets processed by the AI and responded to in the same chat. It feels like texting a very smart friend who never sleeps.

Part 5: Your First Real Tasks

Now that OpenClaw is running and connected to at least one messaging platform, try these starter tasks to see what it can do:

Starter tasks to try
Quick questionAsk it anything — weather, recipe conversions, coding questions. This confirms basic functionality.
File taskSay 'List all PDF files in my Documents folder.' This tests file system access.
Web searchAsk 'What are the latest tech headlines today?' This tests web search skills.
System checkSay 'How much free disk space do I have?' This tests shell command execution.
SchedulingSay 'Remind me to check my email at 3pm every day.' This tests cron-style scheduling.

Troubleshooting Common Issues

  • WhatsApp disconnects: This happens occasionally. OpenClaw usually reconnects automatically within a minute. If not, run openclaw channel reconnect whatsapp.
  • Slow responses: Usually an API-side issue, not OpenClaw. Check your model provider's status page. Switching to a faster model (like GPT-4o mini) helps for quick tasks.
  • Permission errors on install: Run the npm install command with sudo prefix. If that does not work, fix your npm permissions using the official Node.js guide.
  • Telegram bot not responding: Make sure you sent a message to the bot first — Telegram bots cannot initiate conversations. Also check that your API key is valid.

FAQ

Does OpenClaw work on Windows?+
Yes. OpenClaw supports macOS, Linux, and Windows. The setup process is similar across platforms using the openclaw onboard command.
Do I need an API key?+
Yes. OpenClaw needs at least one AI model API key. You can use keys from OpenAI, Anthropic, Google, or run a local model instead.
Is the WhatsApp integration reliable?+
It works well but may disconnect occasionally. Reconnection is usually automatic. Use Node runtime instead of Bun for stability.

Want more guides like this?

Join 50K+ readers getting weekly tips on AI, automation & making money online.

Subscribe Free
#OpenClaw AI#AI Setup Guide#Mac AI Tools#AI Agent#WhatsApp AI#Telegram AI

Share this article