TutorialFeatured

Installing OpenClaw on macOS: A Step-by-Step Guide

February 1, 202611 min readReviewed February 21, 2026

This guide will walk you through installing OpenClaw on your Mac, from checking prerequisites to starting your first conversation with the AI assistant.

Prerequisites

Before installing OpenClaw, ensure your Mac meets these requirements:

  • macOS: Monterey (12.0) or later[1]
  • Architecture: Intel-based Mac or Apple Silicon (M1/M2/M3) — both supported
  • Node.js: Version 22.0.0 or higher
  • Memory: At least 4GB RAM (8GB+ recommended)
  • Disk Space: 500MB free space

Step 1: Install or Update Node.js

OpenClaw requires Node.js 22 or newer. First, check your current version:

node --version

If you see version 22.0.0 or higher, you can skip to Step 2. Otherwise, install the latest version:

Option A: Using Homebrew (Recommended)

brew install node

Option B: Using nvm (Node Version Manager)

nvm install 22 nvm use 22

Option C: Official Installer

Download from nodejs.org and run the installer.

Step 2: Install OpenClaw

Once Node.js is ready, you have three installation options:

Option A: Quick Install (One-Line Script)

This is the fastest method — just run this command in Terminal:

curl -fsSL https://openclaw.ai/install.sh | bash
Tip: If you get a permission error, the script will prompt you for your macOS password. This is normal for system-wide installations.

Option B: Using npm

If you prefer using npm directly:

npm install -g openclaw@latest

This installs OpenClaw globally on your system. Verify the installation:

which openclaw

You should see the path to the OpenClaw executable.

Step 3: Run the Onboarding Wizard

Start the interactive setup:

openclaw onboard

The wizard will guide you through:

  1. API Key Setup — Configure your preferred LLM provider (Anthropic Claude, OpenAI GPT, etc.)
  2. Platform Connection — Connect messaging platforms like Telegram, Discord, etc.
  3. Skill Installation — Choose basic skills to install
  4. Daemon Setup — Configure OpenClaw to run in the background

Step 4: Install and Start the Daemon

The daemon allows OpenClaw to run continuously in the background. Install it with:

openclaw onboard --install-daemon

Once installed, you can control the daemon:

# Start the daemon openclaw daemon start # Check status openclaw daemon status # Stop the daemon openclaw daemon stop

Step 5: Start Your First Chat

Launch the OpenClaw chat interface:

openclaw chat

Try sending your first message:

Hello! Can you help me understand what you can do?

Configuration File Location

OpenClaw stores its configuration in:

~/.config/openclaw/

You can manually edit settings in the config.json file if needed.

Troubleshooting

Permission Denied Errors

If you see permission errors during installation:

# Use sudo for system-wide installation sudo npm install -g openclaw@latest

"Command Not Found: openclaw"

If the terminal can't find the openclaw command:

  1. Verify installation: npm list -g | grep openclaw
  2. Check your PATH: echo $PATH
  3. Try restarting your terminal
  4. Reinstall using the full path: ./node_modules/.bin/openclaw

Apple Silicon Specific Notes

For M1/M2/M3 Macs, ensure you're using the ARM64 version of Node.js:

uname -m # Should show "arm64"

If using Rosetta (shows "x86_64"), reinstall Node.js natively for better performance.

What's Next?

Now that OpenClaw is installed, explore these resources:


References

  1. OpenClaw Documentation - Getting Started Guide - Accessed February 2026
  2. OpenClaw Installation Scripts - https://openclaw.ai - Accessed February 2026
  3. npm Package Registry - openclaw package - Accessed February 2026

Need more help?

Join our community for support and discussions.

Join Community

Reference Trail

External sources surfaced from the underlying article content

  1. nodejs.orgnodejs.org
  2. Official Documentationdocs.openclaw.ai
  3. GitHub Repositorygithub.com
  4. Getting Started Guidedocs.openclaw.ai
  5. https://openclaw.aiopenclaw.ai
Back to ArchiveMore: TutorialsNext: OpenClaw Security: What You Need to Know