OpenClaw on a Raspberry Pi
Whether OpenClaw runs on a Raspberry Pi, and how to set it up there: install, sign in without a browser, keep it running. Or skip the hardware with an always-on EnvHaven workspace.
Updated November 23, 2026 · Checked against OpenClaw 2026.9.2 in EnvHaven v1.9.0
OpenClaw runs on a Raspberry Pi with a 64-bit operating system: its Raspberry Pi guide supports a Pi 4 or 5 running a 64-bit OS. (source) What a Pi gives it is a small machine that never sleeps; the work is the same as on any remote server: signing in without a browser, keeping the session alive, and reaching it from elsewhere.
The always-on machine without the hardware
An EnvHaven workspace is the machine a Pi stands in for, without the hardware: no SD card to wear out, no power cut to recover from, and no port to open on your home connection.
- Open your workspace in any browser. It is a Linux server of its own, always on.
- Tap Launch, choose OpenClaw and tap Sign in: it runs
openclaw onboardfor you in the terminal. For an API key, choose Set key instead and pasteANTHROPIC_API_KEY,OPENAI_API_KEY,GEMINI_API_KEYorGOOGLE_API_KEY; the workspace keeps it write-only. - Start it with one tap: signed in, OpenClaw gets a green dot in the Launch menu and an icon in the workspace’s top bar. Support is built in (2026.9.2), so there is nothing to install or update.
- Give it a task. Ready for
openclaw onboard; the workspace itself is the sandbox. - Close the tab. The session keeps running, and you reach it from any device without opening a port at home.
On a Raspberry Pi
Prepare the Pi. A Pi 4 or 5 with a 64-bit Raspberry Pi OS (Lite is enough), SSH turned on, and a regular user to run the agent.
Install OpenClaw.
curl -fsSL https://openclaw.ai/install.sh | bash
Sign in without a browser on the Pi.
- Run
openclaw onboard; it sets up a model provider and your chat channels, and reuses a Claude Code or Codex login it finds on the machine. - For an always-on host, its docs call a provider API key (
<PROVIDER>_API_KEY, in~/.openclaw/.envfor the daemon) the most predictable option.
Keep its gateway running. OpenClaw’s documentation covers running it as a service; tmux is enough for a first try.
Reach it from elsewhere. SSH works on your home network; from outside it you need a VPN such as WireGuard or Tailscale, or a port opened on your router.