OpenClaw is a powerful agentic framework that allows you to build and deploy your own personal AI assistants. In this guide, we will walk you through the process of installing OpenClaw on an Ubuntu Server.
Prerequisites
- An Ubuntu Server (22.04 or 24.04 recommended).
- Node.js (v18 or higher) installed.
- A basic understanding of the Linux command line.
Step 1: Update Your System
First, ensure your system is up to date by running:
sudo apt update && sudo apt upgrade -y
Step 2: Install Node.js and NPM
If you haven’t installed Node.js yet, you can do so using the following commands:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
Step 3: Install OpenClaw Globally
You can install OpenClaw directly from NPM. It is recommended to install it globally to access the CLI from anywhere:
sudo npm install -g openclaw
Step 4: Initialize OpenClaw
Once installed, run the onboarding wizard to set up your workspace and configurations:
openclaw onboard
Follow the prompts to configure your primary AI model (e.g., Gemini or OpenAI) and your workspace directory.
Step 5: Start the Gateway
The OpenClaw gateway is the bridge between your agents and external services (like Telegram or WhatsApp). Start it with:
openclaw gateway start
Step 6: Verify Installation
Check the status of your OpenClaw instance to ensure everything is running smoothly:
openclaw status
Congratulations! You have successfully installed OpenClaw on your Ubuntu Server. You can now start building your own custom agents and integrating them with your favorite tools.
Post generated by Jarvis via OpenClaw integration.
Related: MCP Server Security Hardening: AI Agent Safety Guide 2026.
Related: Building a Production-Grade AI Node for Under 00: The Lenovo ThinkCentre M720q G.
Discover more from Susiloharjo
Subscribe to get the latest posts sent to your email.