How to Install Clawdbot: Complete Beginner's Guide
Your personal AI assistant that actually lives in your apps.
Tired of switching to ChatGPT every time you need AI help? What if your AI assistant lived inside WhatsApp, Telegram, Discord, or iMessage — available 24/7, remembering your conversations, and actually doing things for you?
That's Clawdbot. And I'm going to show you exactly how to set it up.
What is Clawdbot?
Clawdbot is an open-source personal AI assistant that you run yourself. Unlike ChatGPT or Claude where you visit a website, Clawdbot:
- Lives in your messaging apps — WhatsApp, Telegram, Discord, Signal, iMessage
- Remembers everything — conversations persist across sessions
- Takes action — browse the web, search, run commands, automate tasks
- Runs 24/7 — always available, even when you're asleep
- Private — your data stays on your machine
Think of it as having a personal AI employee that's always on call.
What You'll Need
- A computer or server — Mac, Linux, Windows (WSL2), or a VPS
- Node.js 18+ — the runtime Clawdbot uses
- An API key — from Anthropic (Claude) or OpenAI
- 10-15 minutes — that's all it takes
Installation Methods
Choose your path:
- Mac/Linux: One-line installer (easiest)
- Windows: WSL2 + one-line installer
- VPS/Cloud: Same one-liner, runs 24/7 for free
- Docker: For containerized setups
Method 1: One-Line Install (Mac/Linux)
Open your terminal and run:
curl -fsSL https://get.clawd.bot | bash
That's it. The installer will:
- Check your system requirements
- Install Clawdbot globally
- Launch the setup wizard
Method 2: Windows Installation
Native Windows is tricky. The recommended way is through WSL2 (Windows Subsystem for Linux):
Step 1: Install WSL2
Open PowerShell as Administrator and run:
wsl --install
Restart your computer when prompted.
Step 2: Open Ubuntu
Search for "Ubuntu" in your Start menu and open it. Set up your username and password.
Step 3: Install Clawdbot
In the Ubuntu terminal, run the one-liner:
curl -fsSL https://get.clawd.bot | bash
Method 3: VPS Installation (Free 24/7 Hosting)
Want Clawdbot running all the time without keeping your computer on? Use a free VPS.
Option A: AWS Free Tier
- Create an AWS account (free tier available)
- Launch an EC2 instance (t2.micro is free)
- Choose Ubuntu 22.04 or 24.04
- SSH into your instance
- Run the one-line installer
Option B: Railway (Even Easier)
- Go to railway.app
- Sign up with GitHub
- Deploy Clawdbot from the template
- Add your API keys as environment variables
The Setup Wizard
After installation, the wizard walks you through configuration:
1. API Key Setup
You'll need an API key from at least one provider:
- Anthropic (Claude): Get one at console.anthropic.com
- OpenAI: Get one at platform.openai.com
The wizard will ask you to paste your key. It's stored locally in ~/.clawdbot/
2. Choose Your Model
Pick which AI model powers your assistant:
- Claude 3.5 Sonnet: Best balance of speed and intelligence
- Claude 3 Opus: Most capable, but slower and pricier
- GPT-4: OpenAI's flagship model
3. Connect a Channel
Choose where your AI lives:
- Telegram: Easiest to set up (create a bot with @BotFather)
- WhatsApp: Scan a QR code to link
- Discord: Create a bot in Discord Developer Portal
Connecting WhatsApp
This is the most popular choice. Here's how:
- Run
clawdbot channels login whatsapp - A QR code appears in your terminal
- Open WhatsApp on your phone
- Go to Settings → Linked Devices → Link a Device
- Scan the QR code
- Done! Message yourself to test it
Note: Your first message needs to include a pairing code (the bot will tell you). Run clawdbot pairing approve whatsapp <code> to approve it.
Connecting Telegram
- Open Telegram and message @BotFather
- Send
/newbotand follow the prompts - Copy the bot token BotFather gives you
- Run
clawdbot channels login telegram - Paste your token when prompted
- Message your bot to test it!
Starting the Gateway
The Gateway is the brain that keeps everything running. Start it with:
clawdbot gateway start
To make it run automatically on startup:
clawdbot gateway install
Now Clawdbot starts whenever your computer/server boots.
Common Issues and Fixes
"clawdbot: command not found"
Your PATH isn't set correctly. Try:
export PATH="$HOME/.local/bin:$PATH"
Add this line to your ~/.bashrc or ~/.zshrc to make it permanent.
"No API key found"
Run the wizard again to add your key:
clawdbot onboard
WhatsApp keeps disconnecting
This usually happens if:
- Your phone's internet is unstable
- You logged into WhatsApp Web elsewhere
- The session expired (re-scan the QR code)
Run clawdbot channels login whatsapp to reconnect.
Gateway won't start
Check if something else is using the port:
lsof -i :18789
Kill any conflicting process or change the port in config.
Messages not going through
Check Gateway status:
clawdbot status
Look at logs for errors:
clawdbot logs
Making It Your Own
Once Clawdbot is running, you can customize it:
Give it a personality
Edit SOUL.md in your workspace to define how your AI behaves — its name, tone, personality, and rules.
Add skills
Skills are plugins that give Clawdbot new abilities:
clawdbot skills install weather
Now it can check the weather for you.
Browse ClawdHub
Find community skills at clawdhub.com — everything from web search to home automation.
What Can You Do With It?
Once set up, the possibilities are endless:
- Ask questions and get answers instantly in your chat apps
- Set reminders and schedule messages
- Search the web and summarize results
- Automate repetitive tasks
- Control smart home devices
- Get proactive notifications
- Have it manage your calendar, emails, and more
Quick Reference
Commands you'll use often:
clawdbot status— Check if everything's runningclawdbot gateway start— Start the Gatewayclawdbot gateway stop— Stop the Gatewayclawdbot logs— View recent logsclawdbot onboard— Re-run setup wizardclawdbot doctor— Diagnose issuesclawdbot channels login <channel>— Connect a channel
Next Steps
You now have a personal AI assistant running 24/7. Here's what to explore next:
- Customize your AI's personality — make it uniquely yours
- Add more channels — connect Discord, Telegram, and more
- Install skills — expand what your AI can do
- Join the community — discord.com/invite/clawd for help and ideas
Welcome to the future of personal AI. 🦞