Skip to main content

Clawdbot

Personal AI assistant setup and configuration.

Prerequisites

  • Git
  • Node.js 22+
  • Claude Code CLI or OpenCode CLI
  • GitHub CLI (gh)

Install Node.js 22+

The Clawdbot installer handles Node.js automatically. To install manually:

# Using nvm (recommended)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
source ~/.bashrc
nvm install 22
nvm use 22

# Verify
node -v # Should show v22.x.x or higher

Install Claude Code CLI

curl -fsSL https://claude.ai/install.sh | bash
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
claude --version

Authentication options:

  • Claude Pro/Max subscription (recommended) — fixed monthly cost with higher usage limits
  • Anthropic API key — pay-per-use from the Anthropic Console
# Start Claude Code and follow the authentication prompts
claude

Install OpenCode CLI (Alternative)

OpenCode is an open-source AI coding agent supporting 75+ LLM providers:

curl -fsSL https://opencode.ai/install | bash
opencode --version

Key features:

  • Free models included
  • Multiple providers (ChatGPT, Claude, Gemini, 75+ more)
  • LSP integration
  • Multi-session parallel agents
# Start OpenCode (opens interactive TUI)
opencode

# Or authenticate with a specific provider
opencode auth login

Installation

curl -fsSL --proto '=https' --tlsv1.2 https://clawd.bot/install-cli.sh | bash
echo 'export PATH="$HOME/.clawdbot/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

Usage

clawdbot --version    # Verify installation
clawdbot onboard # Run the onboarding wizard
clawdbot --help # View available commands

During onboarding, you'll configure:

  • Gateway settings (local or remote)
  • Workspace directory
  • AI model provider (Anthropic/Claude Code or OpenCode recommended)
  • Channels (Discord, Telegram, WhatsApp, etc.)
  • Skills and plugins

Common Commands

Clawdbot CLI

clawdbot gateway      # Start the gateway
clawdbot doctor # Check system health
clawdbot status # View status
clawdbot configure # Configure settings
clawdbot reset # Reset configuration

Claude Code

claude                # Start Claude Code in a project
claude --help # Run specific commands
claude doctor # Check installation

OpenCode

opencode              # Start OpenCode in a project
opencode -p "prompt" # Run in non-interactive mode
opencode auth login # Authenticate with a provider
opencode agents list # List available agents
opencode upgrade # Update OpenCode

Resources

Clawdbot: Website | Docs | GitHub | Getting Started

Claude Code: Docs | Setup | GitHub

OpenCode: Website | Docs | GitHub | CLI Reference