Skip to main content

Running Clawdbot on Your RDP.sh Server

Clawdbot is an AI assistant that runs as a background service on your server. This guide shows you how to set it up on your RDP.sh Linux server.

Requirements

  • A Linux server (Ubuntu 22+ recommended)
  • Node.js 20 or higher
  • A Telegram account (for the default chat interface)

Step 1: Install Node.js

Connect to your server via SSH and install Node.js:
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
Verify the installation:
node --version

Step 2: Install Clawdbot

Install Clawdbot globally using npm:
npm install -g clawdbot

Step 3: Initialize Clawdbot

Run the setup wizard:
clawdbot init
This will guide you through:
  • Connecting your Telegram account
  • Setting up your AI provider (Anthropic, OpenAI, etc.)
  • Configuring your workspace

Step 4: Start the Gateway

Start the Clawdbot gateway as a background service:
clawdbot gateway start
To check if it’s running:
clawdbot status

Step 5: Chat with Your Bot

Open Telegram and send a message to your bot. Clawdbot will respond and can now help you manage your server!

Running as a System Service (Optional)

To keep Clawdbot running after you disconnect:
clawdbot gateway install
This creates a systemd service that starts automatically on boot.

Need Help?