OpenClaw Installation Guide

O

Installing OpenClaw is fairly straightforward whether you’re using Linux or running it on Windows through a compatibility layer. OpenClaw acts as a powerful automation gateway that can connect AI models, chat platforms, and automated workflows in one place. Once installed, it can run continuously in the background and respond to commands from messaging apps or APIs.

This guide walks you through the most common installation methods and how to verify that everything is working correctly.

1. Install OpenClaw on Ubuntu and Debian

Install Openclaw On Ubuntu
Install OpenClaw on Ubuntu

Linux users, especially those running Ubuntu or Debian, can install OpenClaw using several methods depending on their setup.

The easiest option is the standard installer script, which automatically downloads and configures OpenClaw. After installation, run:

This onboarding step configures your models, channels, and installs a background service so OpenClaw starts automatically when the system boots.

For hardened production servers, you can use the Ansible installer. It deploys a secure setup with a UFW firewall, Tailscale access, and Docker agent sandboxes. Run the automated installer:

Developers who prefer manual control can install OpenClaw using Node.js and npm. After installing Node.js 22+, run:

Alternatively, OpenClaw can run in a fully containerized environment using Docker Compose.

When installed natively, the onboarding process usually creates a systemd user service and enables loginctl enable-linger $USER, ensuring the OpenClaw gateway continues running even after logout and automatically restarts when the system boots.

2. Run OpenClaw on Windows Using WSL2

Run Openclaw Using Wsl2
Run OpenClaw Using WSL2

Although OpenClaw is mainly built for Linux, Windows users can run it easily using Windows Subsystem for Linux.

Step 1: Install WSL2 and Ubuntu

Open Microsoft PowerShell as Administrator and run:

To install a specific distro version:

Restart your computer if Windows asks you to.

Step 2: Enable systemd in WSL

OpenClaw relies on systemd for background services. In your Ubuntu terminal, run:

Then restart WSL from PowerShell:

Reopen Ubuntu and confirm systemd is running with:

Step 3: Install OpenClaw

Inside the WSL terminal, run the installer:

Developers can also install from source using Git and build tools.

Step 4: Configure Auto-Start

To keep OpenClaw running in the background, create a Windows scheduled task that silently launches WSL at startup.

LAN Access Note:

Because WSL runs on a virtual network, the dashboard is typically available at http://127.0.0.1:18789. For access from other devices, use Tailscale or configure a Windows netsh portproxy.

3. Verify OpenClaw Installation with openclaw status

Verify With Openclaw Status
Verify with openclaw status

After installing OpenClaw, it’s important to verify that the gateway, models, and connected services are working properly.

Basic Health Check

Start with a quick system overview by running:

This command displays key information such as active channels, authentication status, gateway runtime health, node host installation status, and update channel details. If everything is healthy, it means the gateway daemon is running and integrations are functioning correctly.

Deep Verification

For a more thorough check, run:

This performs live probes on connected services like WhatsApp, Telegram, Discord, and Slack to confirm they are properly connected and operational.

Full Diagnostic Report

If troubleshooting is needed, generate a detailed report with:

This produces a comprehensive system summary while automatically redacting sensitive tokens.

API Usage Tracking

To monitor AI provider quotas and usage, run:

In-Chat Status Check

Once the bot is running, you can simply send /status inside your chat app to receive a status card showing connection health, model usage, and recent activity.

If issues appear, run:

These commands diagnose configuration issues and often provide automated repair steps.

With the correct installation method and verification checks, OpenClaw can run as a reliable automation gateway that connects AI models, messaging apps, and workflows into a single powerful system.

Referensi terkait:

  • OpenClaw AI Model Integration

    One of the most powerful features of OpenClaw is its ability to connect with different AI model providers. Instead of..

  • OpenClaw Memory and Skills System

    Modern AI assistants become far more useful when they can remember information and perform repeatable tasks. That’s exactly what the..

About the author

Hairun Wicaksana

Hi, I just another vibecoder from Southeast Asia, currently based in Stockholm. Building startup experiments while keeping close to the KTH Innovation startup ecosystem. I focus on AI tools, automation, and fast product experiments, sharing the journey while turning ideas into working software.

Get in touch

Quickly communicate covalent niche markets for maintainable sources. Collaboratively harness resource sucking experiences whereas cost effective meta-services.