Tutorial

Installing OpenClaw on Ubuntu/Debian: Complete Guide

February 14, 20266 min readReviewed March 8, 2026
February 14, 2026 6 min read

Complete guide to installing OpenClaw on Ubuntu and Debian Linux. Follow step-by-step instructions from prerequisites to first chat.

Prerequisites

  • Ubuntu 20.04+ or Debian 11+ installed
  • Root or sudo access
  • Internet connection for downloading packages

Step 1: Install Node.js

# Update package list and install Node.js curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt-get install -y nodejs

Step 2: Install OpenClaw

# Install via npm npm install -g @openclaw/cli # Verify installation openclaw --version

Step 3: Configure OpenClaw

After installation, configure OpenClaw with your preferred LLM and settings:

# Initialize configuration openclaw init # Start the daemon openclaw daemon start

Step 4: Verify Installation

# Check OpenClaw is running openclaw status # Test a simple command openclaw help

Troubleshooting

Node.js Not Found

If Node.js is not found, you may need to install it first:

# Using NodeSource curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt-get install -y nodejs

Permission Denied

If you get permission errors, use sudo for npm global installs:

sudo npm install -g @openclaw/cli

Daemon Won't Start

Check logs with:

openclaw daemon logs

Next Steps


References

  1. OpenClaw Official Documentation - Getting Started Guide - Accessed February 2026
  2. OpenClaw GitHub Repository - https://github.com/openclaw/openclaw - Accessed February 2026
  3. Node.js Official Downloads - https://nodejs.org/en/download/ - Accessed February 2026
  4. OpenClaw Installation Script - https://openclaw.ai/install.sh - Accessed February 2026

Get started with OpenClaw on Linux

Install OpenClaw on your Ubuntu or Debian system and have a local AI assistant running in minutes.

Get Started

Reference Trail

External sources surfaced from the underlying article content

  1. Getting Started Guidedocs.openclaw.ai
  2. https://github.com/openclaw/openclawgithub.com
  3. https://nodejs.org/en/download/nodejs.org
  4. https://openclaw.ai/install.shopenclaw.ai
Back to ArchiveMore: TutorialsNext: OpenClaw + Slack Integration Guide