Getting Started with OpenClaw

Prerequisites

  • Node.js ≥22 (required)
  • Claude Pro or Team account ($20-30/mo)
  • Dedicated hardware (Mac Mini, laptop, or VPS)
  • Basic terminal knowledge

Installation (5 Minutes)

Step 1: Install OpenClaw

curl -fsSL https://openclaw.ai/install.sh | bash

Step 2: Run Onboarding

openclaw onboard --install-daemon

This sets up the gateway as a systemd service and creates your workspace at ~/.openclaw

Step 3: Start Gateway

openclaw gateway --port 18789 --verbose

Step 4: Verify Installation

openclaw gateway status

Gateway should be running on http://localhost:18789

Authentication Setup

OpenClaw uses OAuth for Claude Code. No API keys required.

claude auth login

This opens your browser for OAuth authentication. Tokens are stored in ~/.openclaw/agents/main/agent/auth-profiles.json

Next Steps