Raspberry Pi
Scope
This guide helps you run a persistent Moltbot Gateway on a Raspberry Pi (ARM64). It’s a good fit for a low-power, always-on personal gateway.
Prerequisites
- Raspberry Pi 4/5 (2GB+ RAM recommended)
- Raspberry Pi OS Lite 64-bit
- SSH access and a stable network connection
Setup (quick path)
1) Flash a 64-bit OS and enable SSH
Use Raspberry Pi Imager to flash “Raspberry Pi OS Lite (64-bit)” and enable SSH in advanced options.
2) SSH in and update packages
ssh user@YOUR_PI_HOST
sudo apt update && sudo apt upgrade -y
sudo apt install -y git curl build-essential3) Install Node.js 22 (ARM64)
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt install -y nodejs
node --version4) Add swap (recommended for <=2GB RAM)
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/fstab5) Install Moltbot
Recommended install:
curl -fsSL https://clawd.bot/install.sh | bash6) Onboard and install the service
moltbot onboard --install-daemon7) Verify and access the UI
moltbot status
moltbot health
sudo systemctl status moltbotOn your laptop:
ssh -L 18789:localhost:18789 user@YOUR_PI_HOSTOpen http://localhost:18789/.
Notes (ARM)
- Use API-backed models; don’t try to run local LLMs on a Pi.
- If a skill fails with “exec format error”, verify the required binary has an ARM64 build.
Further reading
- Linux setup notes: /docs/platforms/linux/
- Remote access (Tailscale): /docs/gateway/tailscale/