You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenClaw installs in one command — but it connects to external services that need accounts, API keys, and tokens. This checklist walks you through getting those ready so installation is seamless.
What You'll Need
Guide
What You're Getting
Required?
01 — Claude / Anthropic
AI brain (Claude Opus, Sonnet, Haiku)
✅ Yes
02 — Telegram Bot
Chat interface to talk to your agent
✅ Yes (if using Telegram)
03 — OpenAI API Key
Speech-to-text (Whisper) and text-to-speech
Optional
04 — Gemini API Key
AI image generation
Optional
Pick Your Platform
Guide
Platform
05 — macOS
Mac Mini, MacBook, iMac
06 — VPS
DigitalOcean, Hetzner, Oracle Cloud
07 — Raspberry Pi
Budget always-on setup
08 — Docker
Containerized (any platform)
The Checklist
Before you start installing, confirm you have:
Claude Code account with access token (see guide 01)
Telegram bot token from BotFather (see guide 02)
(Optional) OpenAI API key (see guide 03)
(Optional) Gemini API key (see guide 04)
Your platform ready (see guides 05-08)
Once you've checked everything off, you're ready to install. The installation guide will tell you where to plug everything in.
OpenClaw uses Anthropic's Claude as its AI model. The best way to get access is through a Claude Code subscription — flat monthly rate, way cheaper than pay-per-token API billing.
What You're Getting
A Claude Code account gives you access to:
Claude Opus 4.6 — most capable model, best reasoning
Claude Sonnet 4 — fast and capable, great for everyday tasks
Claude Haiku 3.5 — lightweight, cheap, good for simple tasks
All under one subscription. No counting tokens.
Step 1: Sign Up for Claude
Open your web browser and go to claude.ai
Click Sign Up and create an account
Once logged in, subscribe to Claude Pro ($20/mo) or Claude Max ($100/mo for heavy usage)
Confirm your subscription is active before continuing
Step 2: Install Node.js
Node.js is a program that lets you run developer tools. You need it to install Claude Code.
If you're on a Mac:
Open Terminal (press Cmd + Space, type "Terminal", hit Enter)
Copy and paste this command to install Homebrew (a Mac package manager):
Set up a global npm directory (so you don't need sudo for npm installs):
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'echo"export PATH=$HOME/.npm-global/bin:$PATH">>~/.bashrc
Log out and log back in for the path change to take effect, then verify:
node --version
You should see something like v22.x.x. If you do, you're good.
Step 5: Add Swap (Important!)
Copy and paste these commands one at a time:
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo'/swapfile none swap sw 0 0'| sudo tee -a /etc/fstab
echo'vm.swappiness=10'| sudo tee -a /etc/sysctl.conf
sudo sysctl -p
Step 6: Install OpenClaw
Copy and paste this command:
curl -fsSL https://openclaw.ai/install.sh | bash
This will install OpenClaw and launch the onboarding wizard. Have your keys and tokens from guides 01-04 ready.
During onboarding:
Choose API keys for auth (OAuth can be finicky on headless Pi)
If you previously set up Claude Code or another coding agent on the Pi, OpenClaw will detect and reuse those credentials
Say yes to the daemon setup (systemd) so it starts automatically on boot
Step 7: Set Up a Chat Channel
This is a huge unlock — being able to message your agent from your phone. Set up Telegram (guide 02), Discord, or Slack so you can chat with your Pi-based assistant from anywhere.
Once your channel is connected, you and your assistant communicate through that service. You get mobility, and the Pi stays safely inside your personal network.
Step 8: Verify Everything Works
openclaw status
You should see the gateway running. Try sending a message through your chat channel — if it replies, you're all set.
Performance Tips
Use an SSD instead of an SD card — this is the single biggest upgrade. SD cards are slow and wear out.
Reduce memory usage on headless Pi:
echo'gpu_mem=16'| sudo tee -a /boot/config.txt
sudo systemctl disable bluetooth
Monitor your Pi:
free -h # check memory
vcgencmd measure_temp # check CPU temperature
Remember: The Pi is just the gateway — the AI models (Claude, GPT, Gemini) run in the cloud. Don't try to run local LLMs for your main tasks. Small local models via Ollama can handle lightweight orchestration if you want, but keep expectations realistic.
Docker lets you run OpenClaw in an isolated container without installing anything directly on your machine. Good if you want to keep things sandboxed.
Note: Docker is optional. If you're on macOS or a personal machine, the standard install (guide 05) is simpler. Simon Willison wrote a great walkthrough of his Docker setup experience here: https://til.simonwillison.net/llms/openclaw-docker
Requirements
Docker Desktop installed (see below)
Enough disk space (~2GB)
Step 1: Install Docker Desktop
If you're on a Mac:
Open your browser and go to docker.com/products/docker-desktop
Download Docker Desktop for Mac
Open the downloaded file and drag Docker to your Applications folder
Open Docker Desktop from your Applications folder
Wait for it to start up (you'll see a whale icon in your menu bar)
If you're on Windows:
Open your browser and go to docker.com/products/docker-desktop
Download Docker Desktop for Windows
Run the installer — accept all defaults
Restart your computer when prompted
Open Docker Desktop from your Start menu
Verify it's working:
Open Terminal (Mac) or PowerShell (Windows) and copy and paste this command:
docker --version
You should see a version number. If you do, you're good.
Step 2: Clone the OpenClaw Repository
Open Terminal (Mac) or PowerShell (Windows)
Copy and paste this command:
git clone https://github.com/openclaw/openclaw
Then move into that folder:
cd openclaw
Step 3: Run the Setup Script
Copy and paste this command:
./docker-setup.sh
This will:
Build the Docker image
Walk you through the onboarding wizard (have your keys and tokens from guides 01-04 ready)
Start the gateway
During the onboarding wizard, some tips:
When asked about onboarding mode, choose manual
When asked what to set up, choose Local gateway (this machine)
For model provider, choose the option that matches what you set up in Guide 01
Step 4: Verify It's Running
Copy and paste this command:
docker compose run --rm openclaw-cli status
Important: You must run this from the same folder where you cloned OpenClaw.
Accessing the Web Dashboard
OpenClaw runs a web UI on port 18789. To get the access URL, copy and paste this command:
docker compose run --rm openclaw-cli dashboard --no-open
Copy the URL it gives you (it includes an authentication token) and open it in your browser.
Where Your Files Live
Docker mounts two folders from your computer into the container:
~/.openclaw/ — configuration, API keys, memory
~/openclaw/workspace/ — files the agent can see and create
These survive container restarts. Everything the agent does is saved here.