This guide walks you through installing OpenClaw on macOS, including both Intel and Apple Silicon (M1/M2/M3) Macs. Follow these step-by-step instructions to get your AI assistant running in minutes.
OpenClaw supports:
Compatible with:
Apple Silicon Macs run OpenClaw natively without Rosetta 2.
You'll need:
The recommended way to install OpenClaw on macOS is using Homebrew. This method handles all dependencies automatically.
Check if Homebrew is already installed:
brew --version
If not installed, install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Follow the on-screen instructions. You may need to add Homebrew to your PATH.
Install the latest Node.js version 22:
brew install node@22
Link Node.js to make it available in your PATH:
brew link node@22
Verify installation:
node --version
npm --version
Use npm to install OpenClaw:
npm install -g openclaw@latest
This installs OpenClaw v2026.2.6 (latest version) globally.
Configure your OpenClaw installation:
openclaw onboard
Follow the interactive wizard to set up your AI model and preferences.
Launch your AI assistant:
openclaw start
Access the web interface at http://127.0.0.1:18789/
You've successfully installed OpenClaw on macOS using Homebrew. Your AI assistant is now ready to use.
The official install script automates the entire installation process:
curl -fsSL https://openclaw.ai/install.sh | bash
After the script completes, run the onboarding wizard:
openclaw onboard
For developers who want more control, you can install OpenClaw from the GitHub repository:
Download from nodejs.org or use Homebrew as shown in Method 1.
git clone https://github.com/openclaw/openclaw.git
cd openclaw
npm install
npm start
This method is recommended if you want to contribute to OpenClaw development. The repository has 180K+ GitHub stars and 900+ active contributors.
See github.com/openclaw/openclaw for contribution guidelines.
OpenClaw runs natively on Apple Silicon Macs without requiring Rosetta 2. Both Node.js and OpenClaw have native ARM64 builds.
Check your Mac's architecture:
uname -m
Output:
arm64 - Apple Silicon (M1/M2/M3)x86_64 - Intel MacHomebrew on Apple Silicon installs to /opt/homebrew instead of /usr/local. The install script handles this automatically.
You do NOT need Rosetta 2 for OpenClaw. If you previously installed Rosetta for other apps, OpenClaw will still use native ARM64 binaries.
If you get compiler errors during install, you may need Xcode Command Line Tools:
xcode-select --install
If you encounter permission errors with npm:
sudo npm install -g openclaw@latest
macOS may block OpenClaw on first run. If you see a security warning:
If brew command not found after installation:
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
Check the full troubleshooting guide: OpenClaw Install Troubleshooting →