Step-by-Step Setup Guide to install Moltbot(claudebot) in Windows 11 with WSL + Docker
1. Make sure prerequisites are ready
- WSL2 installed and running (Ubuntu or Debian recommended).
- Docker Desktop installed with WSL2 integration enabled.
- Git installed inside your WSL distro (sudo apt install git).
- Node.js & pnpm (optional, if you want to build from source).
2. Clone Moltbot
cd moltbot
3. Configure environment
Copy the example environment file
Edit .env with your preferred settings: Add your messaging app tokens (WhatsApp, Slack, Telegram, etc.). Configure your LLM provider (Claude, Gemini, OpenAI, or Ollama for local models).
4. Build & run with Docker
docker compose up --build
(This will pull dependencies, build the container, and start Moltbot inside WSL.)
5. Connect to messaging apps
- Follow the docs for WhatsApp, Slack, or Telegram integration.
- Once connected, you’ll be able to chat with Moltbot directly in those apps.
Performance tip: Store the Moltbot repo inside your WSL filesystem (/home/username/...) instead of Windows drives (/mnt/c/...) for faster I/O. Persistence: Use Docker volumes to keep Moltbot’s state across restarts. Local models: If you want to run Ollama inside WSL, you can integrate it with Moltbot for fully local AI.