Set Up OpenClaw on Your Mac
Prerequisite: Node.js Check
Before we get started, we need to check whether Node.js is installed on your Mac.
Step 0.1: Open Terminal
How to open Terminal:
- Press Cmd + Space on your keyboard
- The Spotlight search opens in the top right
- Type: Terminal
- You'll see an icon with a black window below
- Press Enter
- A black window opens -- that's the Terminal!
What does Terminal look like?
Markus@MacBook-Pro ~ %Step 0.2: Check if Node.js is installed
In Terminal, type:
node --versionPress Enter.
What happens?
SCENARIO A: Node.js IS installed
You see:
v22.11.0or a similar number >= 20.
Great! You can skip straight to Step 1.
SCENARIO B: Node.js is NOT installed
You see:
zsh: command not found: nodeNo problem! We'll install it now. Continue with Step 0.3.
Step 0.3: Install Node.js (If you had Scenario B)
Step A: Install Homebrew
Homebrew is a "package manager" -- it installs programs for you.
In Terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Press Enter.
What happens:
- Your Mac asks for your password (the password for your Mac account)
- Type it in (it will NOT be displayed -- that's normal)
- Press Enter
- Installation takes 5-10 minutes
- At the end you'll see:
Installation successful!
Step B: Install Node.js with Homebrew
In Terminal:
brew install nodePress Enter.
This takes 2-3 minutes. At the end you'll see what was installed.
Step C: Verify Node.js
In Terminal:
node --versionYou should see:
v22.x.xPerfect! Node.js is running.
Step 1: Install OpenClaw
Now let's get going!
In Terminal:
curl -fsSL https://openclaw.ai/install.sh | bashPress Enter.
What happens:
- The installation script downloads
- OpenClaw gets installed
- Takes 3-5 minutes
- You'll see a lot of text -- that's normal
At the end you should see:
Installation complete!or
OpenClaw v2026.2.21 installed successfullyCongratulations!
Step 2: Configure OpenClaw
This is the most important step! Here you set everything up (AI provider, skills, etc.).
In Terminal:
openclaw configurePress Enter.
A wizard (question-and-answer dialog) opens. Here's how it works:
Question 1: Where will the Gateway run?
Where will the Gateway run?
○ Local (this machine)Answer: Select Local with the arrow key and press Enter.
Question 2: What do you want to configure?
You'll see several options:
- Workspace
- Model
- Web tools
- Gateway
- Daemon
- Channels
- Skills
Recommendation for beginners:
Select Model first (highlight with the arrow key, press Enter).
Question 3: Which AI provider?
Model/auth provider
○ OpenAI
○ Anthropic (Claude)
○ Google
○ vLLM (Local/self-hosted)
... (many more)Recommendation:
- OpenAI: If you have a ChatGPT subscription (paid, but reliable)
- Anthropic: If you have a Claude subscription
- Google: Free (Google Gemini)
For this walkthrough: We'll use OpenAI.
Highlight with the arrow key and press Enter.
Question 4: Enter your API key
The wizard guides you to OpenAI.
Here's how it works:
- Your browser opens automatically
- Sign in to OpenAI (https://platform.openai.com)
- Go to API keys (left menu)
- Click Create new secret key
- Copy the code with Cmd + C
- Go back to Terminal
- Press Cmd + V to paste
- Press Enter
If the browser doesn't open:
- Open it yourself: https://platform.openai.com/account/api-keys
- Same steps as above
Question 5: Install Skills? (Optional, but takes a while!)
Select sections to configure
○ Workspace
○ Model
○ Web tools
○ Gateway
○ Daemon
○ Channels
● Skills
○ Health checkIMPORTANT: Skills installation takes 30-60 minutes!
Your options:
Option A: Skip (recommended for your first start)
- Select a different item (e.g., "Continue")
- You can install skills later individually
- OpenClaw works right away
Option B: Install all (be patient)
- Select Skills with Enter
- Many skills get installed
- Some may fail (especially on older Macs)
- This is NORMAL! For example: "Install failed: apple-reminders -- requires macOS Sonoma"
- OpenClaw still works regardless
We recommend: Option A (Skip) for your first start.
Question 6: Continue
Select sections to configure
○ Workspace
○ Model
○ Web tools
○ Gateway
○ Daemon
○ Channels
○ Skills
○ Health check
● Continue (Done)Highlight Continue and press Enter.
Configuration is complete!
Step 3: Open the Dashboard
The Dashboard is the "control center" of OpenClaw.
In Terminal:
openclaw dashboardPress Enter.
Your browser opens automatically with:
http://127.0.0.1:18789/If it doesn't open automatically: Open a browser yourself and enter this address manually.
What you'll see in the Dashboard:
- Chat window (at the top)
- Send button (for writing messages)
- Update notification (if a newer version is available)
- Settings (bottom right, optional)
Step 4: First Test Message
Now let's test whether your AI assistant works!
- Click into the chat window
- Type: "Hello! Who are you?"
- Press Enter
You should get a response like:
Hello! I'm your OpenClaw assistant, powered by OpenAI. I can help you with many tasks...
If that works: Congratulations!
You now have your own AI assistant on your Mac!
Step 5: Updates (Important!)
OpenClaw automatically shows you in the Dashboard when an update is available:
Update available: v2026.3.13 (running v2026.2.21-2)Installing an update:
Option A: Dashboard button
- Click on the update notification in the Dashboard
- OpenClaw restarts (30 seconds)
- After that, the new version is running
Option B: Terminal command
npm update -g openclaw
openclaw gateway restartStep 6: Connect WhatsApp (Optional)
You can also control OpenClaw via WhatsApp -- very handy!
In Terminal:
openclaw channels login --channel whatsappPress Enter.
A QR code appears in Terminal.
Scan the QR code:
- Open WhatsApp on your phone
- Go to Settings (bottom right, three dots)
- Tap Linked Devices
- Tap Link a Device
- Open the camera app
- Hold your camera over the QR code in Terminal
- WhatsApp links automatically
Done! Now you can use OpenClaw via WhatsApp.
Common Errors and Solutions
Error 1: "command not found: openclaw"
Problem: After installation, openclaw doesn't work
Solution:
- Close Terminal completely
- Reopen it
- Try again
Error 2: "No API key found for provider 'openai'"
Problem: You see in the Dashboard: "Agent failed before reply: No API key found"
Solution:
openclaw configureSelect Model and enter your API key (see Step 2).
Error 3: "Gateway not running"
Problem: Dashboard doesn't load / http://127.0.0.1:18789 doesn't work
Solution:
openclaw gateway restartWait 5 seconds, then try again:
openclaw gateway statusYou should see:
Gateway is running on port 18789Error 4: "Skills installation fails"
Problem: During skill installation you see error messages like:
Install failed: apple-reminders — requires macOS SonomaThis is NORMAL! Especially on older Macs.
Solution:
- Let the installation continue
- Failed skills are usually not essential
- OpenClaw still works regardless
If you're interested in specific skills, you can install them later individually.
Error 5: "Skills installation takes forever"
Problem: Installation has been running 45+ minutes, your Mac is getting hot/slow
This is NORMAL! Especially on older Macs.
Solution:
- Be patient -- the installation keeps running
- If you really don't want to wait: Press Ctrl + C (cancels the process), then run
openclaw configureand select Skip for now under Skills
Error 6: "Command openclaw not recognized / Unknown command"
Problem: You type a command and get "unknown command" or "not recognized"
Solution:
Check which commands are available:
openclaw --helpThis shows you ALL available commands for your version.
Useful Terminal Commands
Open Dashboard
openclaw dashboardOpens in your browser
Check status
openclaw gateway statusShows whether OpenClaw is running
Restart
openclaw gateway restartRestarts OpenClaw
Stop
openclaw gateway stopShuts it down
Show all commands
openclaw --helpShows all available commands
View logs (for troubleshooting)
openclaw logs --followShows live logs. Press Ctrl + C to stop.
Everything working?
Congratulations! You have successfully installed OpenClaw!
You now have your own AI assistant on your Mac:
- Running locally on your device
- Your data stays private
- You only pay for API calls (OpenAI)
- Accessible in your browser: http://127.0.0.1:18789/
- Optionally connected to WhatsApp, Telegram, Discord, etc.
Still having problems?
Option 1: Self-help
- See "Common Errors" above
- Type
openclaw --helpfor all commands - Close Terminal and reopen it
- Restart your Mac (often helps!)
Option 2: Support
- Email: office@markusstoeger.com (subject: openclaw.markusstoeger.com)
- Describe your problem
- Copy the error message from Terminal
Option 3: Managed Hosting (no installation needed)
- Not in the mood for Terminal?
- We set everything up for you
- 19 per month, 7 days free trial
- Visit openclaw.markusstoeger.com