OpenClaw Quick Install
Generate a custom install script for your platform, LLM provider, and messaging app. Copy, paste, and start chatting.
Platform
Your operating system
LLM Provider
Which AI model to use
API Key Required
API Key Required
API Key Required
Free
Messaging Platform
Where your bot lives
Your Install Script
Customized for macOS + Claude + Telegram
#!/usr/bin/env bash # ───────────────────────────────────────────────────── # OpenClaw Quick Install Script # Platform: macOS # Provider: Claude (claude-sonnet-4-20250514) # Messenger: Telegram # Generated: aitoolskit.io/openclaw/quick-install # ───────────────────────────────────────────────────── set -euo pipefail echo "🚀 OpenClaw Quick Install" echo "=========================" echo "" # ── Step 1: Check / install Node.js ────────────────── echo "Step 1: Checking Node.js..." # Install Node.js via Homebrew if ! command -v node &> /dev/null; then echo "📦 Installing Node.js via Homebrew..." brew install node else echo "✅ Node.js is already installed ($(node -v))" fi # ── Step 2: Install OpenClaw CLI ───────────────────── echo "" echo "📦 Step 2: Installing OpenClaw CLI..." npm install -g @openclaw/cli echo "✅ OpenClaw CLI installed" # ── Step 3: Create configuration ───────────────────── echo "" echo "⚙️ Step 3: Creating configuration..." mkdir -p ~/.openclaw cat > ~/.openclaw/.env << 'ENVFILE' OPENCLAW_MODEL=claude-sonnet-4-20250514 ANTHROPIC_API_KEY=YOUR_ANTHROPIC_API_KEY TELEGRAM_BOT_TOKEN=YOUR_TELEGRAM_BOT_TOKEN ENVFILE echo "✅ Configuration written to ~/.openclaw/.env" # ── Step 4: Verify installation ────────────────────── echo "" echo "🔍 Step 4: Verifying installation..." openclaw --version echo "✅ OpenClaw is installed and ready" # ── Step 5: Next steps ────────────────────────────── echo "" echo "═══════════════════════════════════════════════" echo " ✅ Installation complete!" echo "" echo " Next steps:" echo " 1. Edit ~/.openclaw/.env and replace" echo " placeholder values with your real keys." echo " 2. Run: openclaw start" echo "═══════════════════════════════════════════════"
Security notice: Always review scripts before running them. Replace all placeholder values (YOUR_*) with your actual API keys. Never share your API keys publicly.
What This Script Does