KevsRobots Learning Platform
25% Percent Complete
By Kevin McAleer, 4 Minutes
Before we install OpenClaw, we need to prepare the Pi. This includes installing the OS and updating the system.
Download Raspberry Pi Imager from raspberrypi.com/software.
Available for:
Launch the application you just downloaded.
Why Lite? No GUI = less resource usage. You’ll access OpenClaw through the web, not a desktop.
⚠️ Warning: Triple-check this is the right card. You cannot undo this.
Click the gear icon (⚙️) to open advanced options:
openclaw-pi)Example hostname: openclaw-pi
Example username: kev
Click Write and confirm. This takes a few minutes.
Once complete, eject the card and insert it into your Pi.
Option A: Using a network scanner
# On your computer, scan your network
nmap -sn 192.168.1.0/24 | grep -i raspber
Look for a hostname like openclaw-pi.local or raspberrypi.local.
Option B: Check your router Log into your router’s admin interface and look for connected devices.
Option C: Connect directly If you have a monitor and keyboard, connect them to your Pi and see the IP address at boot time.
Or using IP address:
(Replace kev with your username and IP with yours)
You’ll be prompted for your password. Enter it.
You should see a prompt like:
kev@openclaw-pi:~ $
Great! You’re in.
Critical step. Don’t skip this.
sudo apt update
sudo apt upgrade -y
This:
On a Pi with internet connection, this typically takes 5-15 minutes depending on how many updates are available.
What it’s doing:
Setting up libssl-dev (3.0.x-y_armhf) ...
Setting up libpython3.11-dev (3.11.x-y_armhf) ...
Processing triggers for libc-bin (2.36-9+rpt2_armhf) ...
Let it finish. Don’t interrupt it.
df -h
You should see:
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 2.8G 25G 10% /
Key numbers:
If you’re below 10% available, you don’t have enough space. Consider a larger card.
free -h
Output example:
total used free shared buff/cache available
Mem: 7.6Gi 200Mi 7.0Gi 39Mi 386Mi 7.2Gi
Key number:
If you see less than 2GB, you have a problem with your Pi.
ping -c 3 8.8.8.8
This pings Google’s DNS. If it works:
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=119 time=12.3 ms
If it fails, your network isn’t working. Check:
If you want your Pi to always have the same IP (helpful for reliability):
sudo nano /etc/dhcpcd.conf
Add at the end:
interface eth0
static ip_address=192.168.1.100/24
static routers=192.168.1.1
static domain_name_servers=8.8.8.8
(Adjust IP and router IP to match your network)
Save (Ctrl+X, Y, Enter) and reboot:
sudo reboot
Your Pi is now prepared and ready for Docker installation. Let’s move on to the next step.
You can use the arrows ← → on your keyboard to navigate between lessons.
Comments