OpenClaw Quick Tutorial

Your already-running VPS setup guide

For VPS users who want to get started fast | March 2026

OpenClaw is your self-hosted, autonomous personal AI agent (open-source, runs 24/7). It uses an LLM (Claude, OpenAI, local via Ollama, etc.) + skills (tools/plugins) to actually do things like read/write emails, control your browser, manage calendar/files, run shell commands, and more — all while keeping your data private. It has persistent memory (Markdown files), proactive behavior (cron jobs + heartbeats), and talks to you via Telegram (already connected), Web UI, or TUI.

1. Essentials: How to Use It Right Now

Access the Interfaces

🌐 Access the Web Dashboard Securely via SSH Tunnel (Mac Terminal)

The OpenClaw Web UI gives you a beautiful dashboard with chat, skill management, logs, and configuration — all in your browser. For maximum security on a VPS (especially if you don't want to expose port 18789 to the public internet), use an SSH tunnel. This lets you access the dashboard as if it were running on your own Mac.

Step-by-step (from your Mac Terminal)

  1. Open Terminal on your Mac (Spotlight → type "Terminal").
  2. Create the SSH tunnel with this one-line command:
    ssh -L 18789:localhost:18789 yourusername@your_VPS_IP

    What this does: The -L 18789:localhost:18789 flag tells SSH to forward your local Mac's port 18789 to the VPS's localhost:18789. This creates a secure encrypted tunnel — your browser talks to your Mac, which then securely forwards the traffic to your VPS through the SSH connection.

  3. Keep this Terminal window open — the tunnel stays active while the connection is running.
  4. Open your browser and go to:
    http://localhost:18789

    You'll see the OpenClaw dashboard just like it was running locally!

💡 Pro Tip

If you want the tunnel to run in the background, add -N (no remote commands) and -f (fork to background):

ssh -N -f -L 18789:localhost:18789 yourusername@your_VPS_IP

Or create an alias in your ~/.zshrc or ~/.bashrc:

alias openclaw-tunnel='ssh -L 18789:localhost:18789 yourusername@your_VPS_IP'

Must-Know CLI Commands (run on VPS)

Command What It Does
openclaw doctor Quick health/security check (run this first!)
openclaw onboard Re-run setup wizard to tweak models, channels, or skills
openclaw gateway status Control the backend server
openclaw logs --follow Live logs
openclaw skills list See installed skills

Basic In-Chat Commands

These work in TUI, Web UI, and Telegram:

Next-Level CLI Commands (VPS Essentials)

Here are the next-level must-know commands that every VPS user should have bookmarked. They build directly on the essentials above. Run them from your SSH session.

Gateway & Service Management

Channels (Telegram is already set up — these keep it healthy)

Models & Config

Skills & Plugins

Monitoring & Maintenance

Daily/Advanced Workflow

🔗 Pro VPS Tip: Create Aliases

Add these to your ~/.bashrc or ~/.zshrc:

alias oc='openclaw'
alias ocd='openclaw doctor --fix'
alias ocg='openclaw gateway restart'
alias ocl='openclaw logs --follow'

Run openclaw doctor first thing every time you SSH in — it's the single best habit. These commands cover 95% of daily VPS management.

Core Files to Know

Located in ~/.openclaw/workspace/ or your configured workspace:

Security Basics on VPS

2. Cool Things to Try (Start Here for Maximum Fun)

🛠️ Install Your First Skills

This is where the magic happens. Go to the Web UI → Skills tab (or search ClawHub at clawhub.ai). Try these popular ones first:

Just say in chat: "Install the browser skill" or use the UI.

📅 Daily Proactive Stuff

"Every morning at 8am summarize my unread emails and send me a Telegram digest"

Or:

"Check my calendar and remind me 30 min before meetings"

👥 Multi-Agent Swarms (Super Powerful)

Edit AGENTS.md and create sub-agents (e.g., one for coding, one for personal finance, one that only talks to your friends).

💡 Example Prompt

"Create a coding sub-agent that can push to GitHub"

🎙️ Voice + Fun Automations

🛠️ Build a Custom Skill

It can write the code for you! Just ask.

3. Advanced Hacker Stuff

🎯 Pro Tip for VPS Users

Everything works great remotely. Start in TUI (openclaw tui) to test fast, then move to Telegram for daily use and Web UI for managing skills/logs.

You're already past the hard part (setup). Play around with skills and /think high — that's when OpenClaw goes from "chatbot" to "actually does my life admin."

Ready to Explore?

Check out the other tutorials and start building with OpenClaw today.

Browse All Blog Posts →