OpenClaw Quick Tutorial

Your self-hosted AI agent - already running on VPS

Last updated: April 2026 | Reading time: 8 minutes

OpenClaw is your private, autonomous AI agent that lives on your VPS and runs 24/7. It uses any LLM (Venice.ai, local Ollama, etc.) + real skills/tools to actually do things - read/write emails, control your browser, manage calendar/files, run shell commands, and more - while keeping all your data 100% private. Persistent memory, proactive cron jobs, multi-agent swarms, and native support for Telegram, Web UI, and TUI make it feel like a real digital assistant you own.

📚 Official Documentation

For comprehensive guides, troubleshooting, and advanced configuration, visit the official OpenClaw documentation:

Need the complete documentation index? Check out the llms.txt file to discover all available documentation pages.

Table of Contents

1. Essentials: How to Use It Right Now

Access the Interfaces

🌐 Web Dashboard Securely via SSH Tunnel (Mac Terminal)

For maximum security (no public port 18789), tunnel the dashboard through SSH so it feels like it's running locally on your Mac.

Step-by-step

  1. Open Terminal on your Mac.
  2. Run the tunnel command (replace with your details):
    ssh -L 18789:localhost:18789 yourusername@your_VPS_IP
  3. Keep the Terminal window open.
  4. Open browser → http://localhost:18789

💡 Pro Tip - Background Tunnel + Alias

Use this one-liner for background mode:

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

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

alias openclaw-web='ssh -N -f -L 18789:localhost:18789 yourusername@your_VPS_IP && echo "✅ Tunnel created! Open http://localhost:18789"'

2. Must-Know CLI Commands (run on VPS)

Run these from your SSH session. Start every login with openclaw doctor.

Core Essentials

CommandWhat It Does
openclaw doctorQuick health/security check (run this first!)
openclaw onboardRe-run setup wizard (models, channels, skills)
openclaw gateway statusBackend server status
openclaw logs --followLive logs
openclaw skills listSee installed skills

Gateway & Service Management

Channels

Models & Config (Most Important Section)

💡 Pro Tip: Aliases + Fallbacks (Venice.ai + Ollama)

Make daily switching effortless with shortcuts and automatic fallbacks:

openclaw models aliases add fast venice/claude-4.6-sonnet
openclaw models aliases add opus venice/claude-4.6-opus
openclaw models fallbacks add ollama/gemma4:26b

Check them with openclaw models aliases list and openclaw models fallbacks list.

Skills, Plugins & Maintenance

🔗 Pro VPS Tip: Aliases

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

3. Core Files & Security

Everything lives in ~/.openclaw/workspace/ (or your configured path).

Security Basics on VPS

4. Cool Things to Try

🛠️ Install Your First Skills

Web UI → Skills tab (or clawhub.ai). Start with:

Or just tell it in chat: "Install the browser skill".

📅 Daily Proactive Stuff

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

Or: "Remind me 30 min before every calendar meeting".

👥 Multi-Agent Swarms

Edit AGENTS.md to create specialized sub-agents (coding, finance, research, etc.).

Example prompt

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

🎙️ Voice + Fun Automations

5. Quick Troubleshooting

ProblemFix
Web UI won't loadopenclaw doctor --fix then openclaw gateway restart
Telegram silentopenclaw channels statusopenclaw channels add telegram
Rate limit / model errorsopenclaw models set to a cheaper model or add fallback
Changed model but still using old oneRun openclaw gateway restart after models set
Skills broken after updateopenclaw skills update + gateway restart
Tunnel keeps dyingUse the openclaw-web alias with -N -f

Still stuck? Run openclaw doctor and share the output in the OpenClaw community.

6. Advanced Hacker Stuff

🎯 Pro Tip for VPS Users

Start in TUI (openclaw tui) for fast testing, then live in Telegram + Web UI for daily use. You're already past the hardest part - now go make it do your life admin.

Play with skills and /think high - that's when OpenClaw stops feeling like a chatbot and starts feeling like a real teammate.

Ready to level up?

Drop your favorite OpenClaw skill, automation, or multi-agent setup in the comments below - I'll feature the best ones in a follow-up post!

Browse All Blog Posts →

💬 Comments

Email is required for anti-spam but can be fake if you prefer privacy.

Loading comments...
// Initialize engagement if (typeof EngagementSystem !== 'undefined') { EngagementSystem.initLikeButton('#like-container', 'blog', 'openclaw-quick-tutorial'); EngagementSystem.initSubscribeForm('#subscribe-container', { title: '📧 Subscribe for Blog Updates', description: 'Get notified when new articles are published.' }); }