Two ways to install
Linux is OpenClaw's best-supported platform. For servers, Raspberry Pis and cloud machines, use the official install script:
curl -fsSL https://openclaw.ai/install.sh | bashThe script checks for Node and installs Node 24 LTS if it is missing, installs OpenClaw, then starts onboarding. At the end of onboarding the Gateway is installed as a systemd user service named openclaw-gateway.service.
On a Linux desktop you can also use the desktop app. It is built with Tauri, has a tray icon, sets up a local Gateway automatically, and can connect to other Gateways it discovers on the network. The desktop installers come only as x86_64 AppImage and deb; on ARM devices, use the script.
AppImage and deb
The deb suits Debian, Ubuntu and their derivatives; install it with sudo apt install ./filename.deb. The AppImage needs no install, just make it executable and run it:
chmod +x OpenClaw-*.AppImage
./OpenClaw-*.AppImageIf it complains about FUSE, install libfuse2 on Ubuntu 22.04 and later (it is called libfuse2t64 from 24.04).

Is there enough memory
The official minimum is 1 GB of RAM, one core, 500 MB of free disk and a 64-bit OS. The Gateway does not run the model itself, the model is in the cloud, so small machines cope. A few lessons:
- Add swap on machines with 2 GB or less.
- Do not build from source on small machines: a full build needs a Node heap of at least 4352 MiB, which a 4 GB machine or container cannot provide. The default npm install uses prebuilt JavaScript.
- Use a 64-bit OS on a Raspberry Pi, and prefer an SSD to an SD card.
Everyday commands
| Command | What it does |
|---|---|
openclaw gateway status | Shows the background service status |
openclaw gateway restart | Restarts the Gateway |
openclaw logs --follow | Follows the logs live |
openclaw doctor | Checks and fixes common configuration problems |
The Gateway did not come back after a reboot?
It is a systemd user service. Check openclaw gateway status, then openclaw logs --follow. If needed, run openclaw doctor, which offers to install or repair the service.
Killed by OOM, exit code 137?
Not enough memory. Add swap or use a bigger machine; in a container, raise the container's memory limit, since adding host RAM alone does not help.
Is there an AUR package for Arch Linux?
There is, but the Arch Wiki says the AUR packages are buggy and recommends the official install method.