How to Run OpenClaw on Raspberry Pi

OpenClaw FAQ

OpenClaw runs on Raspberry Pi 4 and 5 with 4GB+ RAM. Install with the standard Linux installer script.

Supported Models

Raspberry Pi 4 (4GB+) and Raspberry Pi 5 are both supported. The Pi 5 with 8GB RAM is recommended for the best experience.

Installation Steps

  1. Flash Raspberry Pi OS (64-bit) to your SD card
  2. Update your system: sudo apt update && sudo apt upgrade
  3. Run the installer: curl -fsSL https://openclaw.ai/install.sh | bash
  4. Complete the onboarding wizard
  5. Start the gateway: openclaw gateway start

Performance Tips

  • Use a fast microSD card (A2 rated) or USB SSD for better I/O
  • Enable swap if using 4GB model: sudo dphys-swapfile setup
  • Use cloud AI models (GPT-4, Claude) — local models are too slow on Pi
  • The Pi makes an excellent always-on OpenClaw server for $50-80 hardware cost
# On Raspberry Pi OS (64-bit)
sudo apt update && sudo apt upgrade -y
curl -fsSL https://openclaw.ai/install.sh | bash

# Start gateway as service
openclaw gateway start
openclaw gateway status

Try OpenClaw — free and open source

Sign up and launch your AI agent in under a minute. No credit card required.

Get Started Free →