Before You Start

Hardware, OS, and prerequisites. Don't skip this.

TL;DR: You need a Mac (Intel or Apple Silicon) running macOS 12+, Node 24+, and about 5GB free disk space. No special hardware required — even a 2020 MacBook Air works. Budget half to a full day to setup.

Hardware Requirements

OpenClaw is lightweight, but here's what works best:

Minimum (Works Fine)

What Actually Helps

Mac or Bust

OpenClaw officially supports macOS. Linux and Windows versions exist but are less tested. This guide assumes macOS.

Software Prerequisites

Required

# Install Homebrew (if you don't have it) /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # Install Node.js brew install node@24 # Verify node --version # Should be v24.x or higher npm --version # Should be 10.x or higher

Highly Recommended

API Keys (Get These First)

You'll need API keys from three AI providers. Get them now before you install OpenClaw.

Anthropic (Required)

  1. Go to console.anthropic.com
  2. Sign up or log in
  3. Go to "API Keys" in the left sidebar
  4. Click "Create Key"
  5. Copy the key (it starts with sk-ant-)
  6. Store it safely — you'll paste it into ~/.openclaw/.env later

Cost: Pay as you go. $2-5/month for light use. Budget $50 if you're experimenting heavily.

OpenAI (Recommended)

  1. Go to platform.openai.com
  2. Sign up or log in
  3. Create a new API key
  4. Copy and store it

Cost: GPT-5.4 is expensive (~$0.10/1K output tokens). Use it for complex reasoning only, not daily chat.

Google Gemini (Optional but Useful)

  1. Go to aistudio.google.com/app/apikey
  2. Click "Create API Key"
  3. Copy and store it

Cost: Free tier exists (50 requests/day). Paid tier is cheap for light use.

Disk Space & Cleanup

After 3 months of daily use, expect:

Clean up monthly: Run openclaw cleanup to remove old session logs and trim memory. Keeps things fast.

Network & Connectivity

Internet: Required for API calls to Anthropic, OpenAI, Google. ~50MB/month typical usage.

Firewall: OpenClaw runs on localhost:18789 by default. No inbound ports exposed. Safe to run anywhere.

VPN: Works fine. No special config needed.

Terminal Knowledge

You'll need to be comfortable with:

Don't fear the command line. Everything you'll run is provided verbatim. Copy-paste, hit Enter, watch it work. If something fails, we'll show you the error and the fix.

What's Next

You've got your hardware, your Node.js, and your API keys. Time to install OpenClaw.