dl-openclaw.is
English
简体中文繁體中文EnglishРусскийفارسی

HomeDownloadLinux

Linux

Two ways to install OpenClaw on Linux: the openclaw.ai install script as a systemd user service for servers, or the x86_64 AppImage or deb for desktops, plus memory requirements and everyday commands.

Two ways to install

Linux is OpenClaw's best-supported platform. For servers, Raspberry Pis and cloud machines, use the official install script:

Linux terminal
curl -fsSL https://openclaw.ai/install.sh | bash

The 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:

Run the AppImage
chmod +x OpenClaw-*.AppImage
./OpenClaw-*.AppImage

If it complains about FUSE, install libfuse2 on Ubuntu 22.04 and later (it is called libfuse2t64 from 24.04).

A Raspberry Pi: to run just the Gateway, a Pi with 2 GB of RAM or more is plenty
A Raspberry Pi: to run just the Gateway, a Pi with 2 GB of RAM or more is plenty SimonWaldherr, CC BY 4.0

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

CommandWhat it does
openclaw gateway statusShows the background service status
openclaw gateway restartRestarts the Gateway
openclaw logs --followFollows the logs live
openclaw doctorChecks 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.

Also worth reading

Topics on this page: OpenClaw Linux install, OpenClaw AppImage, OpenClaw server setup