ClawdBot One‑Click Install for Your AI Assistant
ClawdBot: A One‑Click AI Assistant for Every Platform
In the fast‑moving world of AI, having a personal chatbot that runs on your own hardware can be both a learning project and a powerful productivity tool. ClawdBot (aka OpenClaw Installer) answers that need by letting you host an AI assistant on a single command. Below is a complete walk‑through: what it is, why it’s useful, how to install it, how to configure multi‑model and channel support, how to secure it, and how to tweak it for your own use case.
1. What Is ClawdBot?
ClawdBot is a lightweight, cross‑platform one‑click deployment tool that packages the OpenClaw AI server with easy setup scripts. OpenClaw is a modular framework that can route requests to different LLM providers (Anthropic, OpenAI, Gemini, Groq, Mistral, Ollama, etc.) and expose the assistant via many popular messaging channels: Telegram, Discord, WhatsApp, Slack, WeChat, iMessage, Feishu, and even custom webhooks.
Key features:
- One‑click installation – a single shell script installs Node, downloads OpenClaw, and configures everything.
- Multi‑model support – choose or add whichever LLM provider you prefer.
- Cross‑channel integration – talk to the assistant through almost any chat platform.
- Persistence & memory – built‑in cross‑platform long‑term memory, skill system, push notifications.
- Security options – sandbox mode, enable/disable shell commands, restrict user lists.
- Docker support – deploy inside a container for isolated environments.
2. System Requirements
| Item | Minimum | Recommendation |
|---|---|---|
| OS | macOS 12+, Ubuntu 20.04+, Debian 11+, CentOS 8+ | Any Linux distro with systemd |
| Node.js | v22+ | v22 or newer |
| RAM | 2 GB | 4 GB+ |
| Disk | 1 GB free | 2 GB+ |
ClawdBot will automatically prompt you to install any missing system packages. If you run it on a machine that already hosts other heavy services, it’s best to use a dedicated VM or a cloud instance.
3. One‑Click Installation (Recommended)
Open a terminal and run:
curl -fsSL https://raw.githubusercontent.com/miaoxworld/OpenClawInstaller/main/install.sh | bash
What the script does:
- Environment detection – checks Node version, memory, disk space.
- Dependency installation – installs Node 22 and npm.
- Clone the repo – pulls the latest OpenClaw source.
- Interactive setup – prompts for model provider, key, model name, and channels.
- Self‑test – verifies API connectivity.
- Service start – launches OpenClaw gateway in the background.
After completing the initial wizard you can optionally open the configuration menu to refine settings:
bash ~/.openclaw/config-menu.sh
4. Manual Installation (Advanced)
If you need more control (e.g., building custom Docker images or running on a CI pipeline), use the manual steps:
# 1. Clone the repo
git clone https://github.com/miaoxworld/OpenClawInstaller.git
cd OpenClawInstaller
# 2. Make installable
chmod +x install.sh config-menu.sh
# 3. Run the installer
./install.sh
You may also install the OpenClaw CLI globally with npm:
npm install -g openclaw
5. Configuring AI Models
During the install wizard you’ll see a menu to pick your AI provider. The UI is text‑based but intuitive:
- Anthropic Claude –
claude-sonnet-4-5,claude-opus-4-5, etc. - OpenAI GPT –
gpt-4o,gpt-4o-mini. - Google Gemini –
gemini-2.0-flash,gemini-1.5-pro. - OpenRouter – a single key that works for many providers.
- Groq & Mistral – for high‑performance inference.
- Ollama – for self‑hosted local models.
If you use a custom proxy (e.g., OneAPI, NewAPI, or a custom OpenAI‑compatible endpoint), just enter the base URL and the key. The installer automatically writes the configuration into ~/.openclaw/openclaw.json and ~/.openclaw/env.
6. Setting Up Messaging Channels
ClawdBot can talk through Telegram, Discord, WhatsApp, Slack, WeChat, iMessage (macOS only), and Feishu. The installer provides a guide for each platform.
Telegram
- Create a bot with BotFather.
- Copy the Bot Token.
- Find your User ID with @userinfobot.
- In the configuration menu: choose Telegram and paste the token + ID.
Discord
- Create a Discord application → Bot.
- Enable Message Content Intent.
- Copy Bot Token.
- Generate an invite URL with at least View Channels, Send Messages, Read Message History permissions.
- Add the bot to your server and get the channel ID.
- In the menu: select Discord, paste the token, channel ID.
- OpenClaw uses a QR‑code to sign in to your WhatsApp Web session. No Business API is required.
- Run the configuration dialog, then scan the QR to complete login.
⚠️ Important: WhatsApp login can only exist on one device at a time, so be sure WhatsApp Web is not logged in elsewhere.
Feishu
- Register an app in Feishu open platform.
- Add “机器人” capability and grant the needed permissions.
- Enable event subscription using long‑connection (no webhook URL).
- Provide App ID & App Secret in the config menu.
7. Managing the Service
The CLI openclaw provides a rich set of commands:
# Start (background)
openclaw gateway start
# Stop
openclaw gateway stop
# Restart
openclaw gateway restart
# Status
openclaw gateway status
# Real‑time logs
openclaw logs --follow
# Configuration editor
openclaw config
# Onboard wizard (re‑run settings)
openclaw onboard
# Backup data
openclaw backup
Docker Deployment
If you prefer container isolation, the repository includes a Dockerfile and docker‑compose.yml. To launch:
docker compose up -d
Make sure to mount the ~/.openclaw directory to preserve configuration across restarts.
8. Security Tips
- Disable dangerous commands – In the config file set
security.enable_shell_commands: falseandsecurity.enable_file_access: false. - Sandbox mode –
security.sandbox_mode: truelimits the environment. - Restricted users – Under
channels.telegram.allowed_usersadd only IDs you trust. - Rotate API keys regularly.
- Avoid storing keys in repo – use environment variables.
- Use a dedicated VM or cloud instance to reduce surface area.
9. Frequently Asked Questions
Q: Node.js version too low?
- macOS: brew install node@22 && brew link --overwrite node@22
- Ubuntu/Debian: curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - && sudo apt-get install -y nodejs
Q: Why does the bot not respond?
- Verify tokens and IDs.
- Check for network proxies.
- Run openclaw doctor for diagnostics.
Q: How to update?
- npm update -g openclaw or run ./config-menu.sh → update OpenClaw.
Q: How to backup?
- Manual: cp -r ~/.openclaw ~/openclaw_backup_$(date +%Y%m%d).
- CLI: openclaw backup.
Q: Full uninstallation?
- Stop service: openclaw gateway stop.
- Uninstall: npm uninstall -g openclaw.
- Remove config: rm -rf ~/.openclaw.
10. Wrap‑Up
ClawdBot turns any server or laptop into a powerful, multi‑model AI assistant with zero configuration headaches. Whether you want a personal chatbot for note‑taking, an assistant for scheduling, or a testbed for experimenting with new LLM APIs, the installer gives you a clean, reproducible environment. By building on top of OpenClaw, it scales from local testing to production‑grade deployments. Grab the repo, run the script, and start chatting today.
Happy hacking, and may your assistant bring you more time to focus on what matters!