How to Install OpenClaw on macOS

OpenClaw (formerly Clawdbot) is an AI assistant that runs locally on your computer.
You can connect it to tools like WhatsApp, Telegram, Discord, and more — while keeping your data on your own machine.
Step 1 – Check Requirements
1.1 macOS Computer
You need:
-
A Mac (Intel or Apple Silicon)
-
Internet connection
-
About 30 minutes
1.2 Install Node.js (Version 22+)
OpenClaw requires Node.js v22 or higher.
Check Your Version
-
Press Command (⌘) + Space
-
Type Terminal
-
Run:
node –version
If the version starts with v22 or higher → you’re good.
If not:
Install Node.js
-
Go to: https://nodejs.org
-
Download the LTS version
-
Install it
-
Restart Terminal
-
Check again with:
1.3 Get an AI API Key
You need an API key from either:
-
Anthropic (Claude models)
-
OpenAI (GPT models)
Create an account and generate an API key from their dashboard.
Keep it private.
Step 2 – Install OpenClaw
2.1 Open Terminal
Press:
Command (⌘) + Space → Type “Terminal”
2.2 Run the Installer
Copy and paste this command exactly:
curl -fsSL https://openclaw.ai/install.sh | bash
This will:
-
Download OpenClaw
-
Install dependencies
-
Configure your system
Wait 2–5 minutes.
2.3 Run the Installer
After installation finishes, run:
openclaw –version
If you see a version number → installation successful 🎉
If not, close Terminal and open a new one, then try again.
Step 3 – Run the Onboarding Setup
3.1 Start the Setup Wizard
Run:
openclaw onboard –install-daemon
The wizard will ask:
-
Assistant name
-
AI provider (Anthropic or OpenAI)
-
Your API key
-
Which model to use
Follow the prompts.
3.2 Install the Gateway Daemon
When prompted, select Yes.
This allows OpenClaw to:
- Run in the background
- Start automatically
- Stay ready at all times
Step 4 – Verify Everything Works
4.1 Check Gateway Status
openclaw gateway status
You should see:
openclaw gateway start
If not:
✓ Gateway is running
✓ Status: healthy
4.2 Open the Dashboard
Run:
openclaw dashboard
Your browser will open at:
http://127.0.0.1:18789
You can now:
-
Chat with your AI
-
Check logs
-
Manage settings
Step 5 – (Optional) Connect Messaging Apps
You can connect OpenClaw to:
-
WhatsApp
-
Telegram
-
Discord
-
Slack
Example (WhatsApp login):
openclaw channels login whatsapp
Where OpenClaw Is Installed
OpenClaw creates a hidden folder:
~/.openclaw
Inside you’ll find:
-
Configuration files
-
Credentials
-
Logs
-
Workspace files

Written by
Marco Sansalone
Also in OpenClaw AI Guide
Something Not Working? Tell Us What’s Wrong.
You'll be notified when the tutorial goes live and join our newsletter on AI tools and tutorials.
