Home → Articles → How to Install OpenClaw AI Assistant on Ubuntu 26.04

How to Install OpenClaw AI Assistant on Ubuntu 26.04

07 May, 2026

Introduction

OpenClaw is an open-source, autonomous AI framework that runs directly on your infrastructure rather than on third-party servers. The platform acts as a gateway between large language models (LLMs) and everyday communication tools like WhatsApp, Telegram, Discord, and Slack. This self-hosted approach keeps your conversation data private while giving you full control over how the AI agent accesses your systems. OpenClaw supports multiple LLM providers including Anthropic, OpenAI, Google Gemini, and local models through Ollama integration.

This guide shows you how to install and configure OpenClaw on Ubuntu 26.04 using the official installation script.

Prerequisites

Before you start:

Install Required Dependencies

OpenClaw requires certain system tools to download and run correctly. The installation process needs curl to fetch the installer and git for version control operations.

Install OpenClaw with the Official Installer

The OpenClaw team provides an installation script that automatically detects your operating system, installs the correct Node.js version, and sets up the OpenClaw package. This is the fastest way to get OpenClaw running on Ubuntu.

Run the Onboarding Configuration

After installing OpenClaw, you must run the onboarding wizard. This interactive process configures your AI provider, sets up the gateway, and creates the necessary configuration files on your system .

Verify the OpenClaw Gateway Status

The gateway is the core service that manages communication between your AI agent and your configured channels. After onboarding completes, verify that the gateway is running correctly.

Configure the Firewall for OpenClaw

Ubuntu's Uncomplicated Firewall (UFW) may block access to the OpenClaw web dashboard. If you want to access the dashboard from other devices on your network, you must allow traffic on port 18789.

Configure LAN Access to the Dashboard

By default, OpenClaw binds to localhost (127.0.0.1), which means you can only access the dashboard from the server itself. To access the dashboard from other computers on your network, modify the gateway configuration.

Access the OpenClaw Dashboard

The OpenClaw dashboard provides a web-based interface for managing your AI agent, viewing conversation history, and adjusting configurations.

Test the OpenClaw Agent

After completing the configuration, test your OpenClaw installation by sending a message through your configured channel or using the terminal interface.

Conclusion

You have successfully installed OpenClaw on Ubuntu 26.04, configured your LLM provider, set up the gateway service, and accessed the web dashboard. Your self-hosted AI assistant is now ready to integrate with messaging platforms and automate tasks on your terms. Now that OpenClaw is running, consider connecting additional channels like WhatsApp or Discord, configuring web search capabilities, or setting up scheduled tasks using OpenClaw's cron and heartbeat features .