How to Install OpenClaw on a Local VPS Without Subscription Fees

H

If you want your own private AI assistant running on your own server, not on someone else’s platform, OpenClaw might be exactly what you need.

OpenClaw is an open source AI automation platform that connects powerful AI models like Claude or GPT to messaging apps, system tools, and your own computer environment. You can chat with it through WhatsApp, Telegram, Discord, Slack, and more. The best part is that you can host it on your own local VPS and avoid monthly hosting subscription fees.

In this guide, you will learn how to install OpenClaw on a local VPS step by step using simple, beginner friendly language.

What Is OpenClaw?

Screenshot 2026 02 19 111816

OpenClaw is like having a personal AI assistant that runs directly on your own server.

With OpenClaw, you can:

  • Connect AI to WhatsApp, Telegram, Discord, Slack, and other apps
  • Run commands on your server
  • Store memory and conversation history
  • Keep full control over your data
  • Use your own AI API keys

Instead of paying for a managed hosting service, you run everything yourself. That means no platform subscription fees. The only cost is whatever you pay to your AI provider based on usage.

What You Need Before Installing

Before starting the installation, make sure you have the following.

1. A Local VPS

This can be:

  • A home server
  • A spare PC running Linux
  • A virtual machine such as Ubuntu on Proxmox or VirtualBox

Recommended minimum setup:

  • Ubuntu 22.04 or newer
  • At least 2GB RAM
  • Stable internet connection

2. Node.js Version 22 or Higher

OpenClaw runs on Node.js. To check if Node.js is installed, type:

If you see v22 or higher, you are ready. If not, download Node.js from: https://nodejs.org

Install the LTS version, then check the version again.

3. An AI API Key

Screenshot 2026 02 19 112532

OpenClaw needs access to an AI model.

You can use:

Create an API key and keep it private. You are not paying OpenClaw itself. You only pay your AI provider based on usage.

Step by Step Installation on Your VPS

Screenshot 2026 02 19 111910

First, connect to your VPS using SSH:

Step 1: Run the Installer

Screenshot 2026 02 19 112440

On Ubuntu or Debian, run:

This command downloads OpenClaw, installs required dependencies, and configures everything automatically. Wait a few minutes for the process to finish.

Step 2: Verify Installation

After installation, check:

If you see a version number, installation was successful. If it does not work, log out and reconnect to your VPS.

Initial Setup Using the Onboarding Wizard

Screenshot 2026 02 19 112451

Now configure OpenClaw:

This starts the setup wizard.

During Setup You Will Be Asked

Assistant Name

Choose any name you like.

AI Provider

Select either Anthropic or OpenAI.

API Key

Paste your secret API key.

Model Selection

Choose a model such as:

  • claude opus
  • claude sonnet
  • gpt 4

Pick one that fits your budget.

Messaging Channels

You can enable WhatsApp, Telegram, Discord, Slack, or skip for now. The wizard will then complete configuration and install the background service.

What the Wizard Creates

OpenClaw creates a hidden folder in your home directory:

Inside this folder are:

  • Configuration files
  • Credentials
  • Logs
  • Workspace data

The daemon ensures OpenClaw runs automatically in the background.

Start and Test the Gateway

Check if the gateway is running:

If it is not running:

Open the Dashboard

Screenshot 2026 02 19 112923

Run:

If your VPS does not have a browser, access it from your computer:

You should see the OpenClaw dashboard. Send a test message like:

If you receive a reply, everything is working correctly.

Running OpenClaw 24 Hours a Day

Because you used the install daemon option, OpenClaw will:

  • Start automatically after reboot
  • Run in the background
  • Stay active without keeping the terminal open

You can manage it using:

Adding Messaging Channels Later

Screenshot 2026 02 19 112653
Screenshot 2026 02 19 112728

Example for Telegram setup:

  1. Create a bot using BotFather on Telegram
  2. Copy the bot token
  3. Edit configuration:

Add:

Restart the gateway:

Now your Telegram bot should respond.

Installing Skills

OpenClaw supports additional skills.

For example:

This allows your assistant to search the internet. You can explore more skills at: https://clawhub.ai

Common Problems and Fixes

Command not found

Restart your SSH session.

Gateway not starting

Another service may be using port 18789. Try a different port:

AI not responding

Check your API key, verify your account has credits, and view logs:

Always Back Up Your Configuration

Screenshot 2026 02 19 113002

Before making changes, back up your config:

If something breaks, you can restore your previous setup easily.

Alternative Option If You Prefer Simplicity

If you do not want to handle installation and debugging yourself, there is a managed option called QuickClaw available at: https://quickclaw.aaronwiseai.com/

It allows you to bring your own API keys and skip the manual setup process. However, if your goal is full control and no hosting subscription fees, installing OpenClaw on your own VPS is the better choice.

Installing OpenClaw on a local VPS gives you full ownership of your system, stronger privacy, no platform subscription fees, and complete customization based on your needs. While the initial setup may take a bit of time and patience, once everything is running properly, you will have a powerful AI assistant that is fully under your control and operating on your own infrastructure.

Referensi terkait:

About the author

Hairun Wicaksana

Get in touch

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