OpenClaw ClawdBot Installation: Get Started in Under 10 Minutes

Install OpenClaw ClawdBot with npm or curl, complete onboarding wizard, and start your autonomous AI agent. Supports macOS, iOS, Android.

OpenClaw ClawdBot Quick Start: Two Installation Methods

OpenClaw ClawdBot offers two straightforward installation methods: npm (Node Package Manager) for users familiar with Node.js, and curl (one-line shell script) for those who prefer automated installation. Both methods install the same software and take under 10 minutes to complete.

Recommended
📦

Method 1: npm Installation

Install via Node Package Manager for fine-grained control and easy updates.

npm install -g openclaw@latest
Benefits:
  • Easy version management with npm
  • Familiar for Node.js developers
  • Simple updates: npm update -g openclaw
🚀

Method 2: curl Installation

One-line automated installation script handles all dependencies.

curl -fsSL https://openclaw.ai/install.sh | bash
Benefits:
  • Automated dependency management
  • No prior Node.js knowledge required
  • Quickest path to running OpenClaw

System Requirements

💻

Operating System

Supported: macOS, iOS, Android

Linux support available (experimental)

🔧

Node.js (for npm method)

Version: Node.js 16.x or higher

Download from nodejs.org

💾

Disk Space

Required: 500MB minimum

Additional space for skills and data

🔑

AI Model API Key

Required: Claude, GPT, or other supported model

Or use local Ollama models (no API key needed)

OpenClaw ClawdBot npm Installation: Global Package Manager

The npm installation method is recommended for users familiar with Node.js and those who want precise control over their OpenClaw installation. This method integrates seamlessly with existing Node.js development workflows.

1

Install Node.js (if needed)

OpenClaw requires Node.js 16.x or higher. Check your Node.js version:

node --version

If you need to install or update Node.js, download from nodejs.org and follow the installation instructions for your operating system.

2

Install OpenClaw Globally

Run the npm install command with global flag (-g) to make OpenClaw available system-wide:

npm install -g openclaw@latest

The @latest tag ensures you install the most recent stable version. Installation typically takes 1-2 minutes depending on your internet connection.

3

Verify Installation

Confirm OpenClaw installed successfully by checking the version:

openclaw --version

You should see output displaying the installed version number (e.g., v2026.2.6 or later).

npm Installation Tips

OpenClaw ClawdBot curl Installation: One-Line Shell Script

The curl installation method is the fastest path to running OpenClaw. The automated script detects your system configuration, installs necessary dependencies, and sets up OpenClaw with sensible defaults.

1

Download and Execute Install Script

Run the one-line installation command in your terminal:

curl -fsSL https://openclaw.ai/install.sh | bash

The script will automatically download OpenClaw, install dependencies, and configure the environment. This process typically takes 2-3 minutes.

2

Script Handles Dependencies

The installation script automatically handles:

  • Node.js installation (if not present)
  • Required system libraries and dependencies
  • Environment variable configuration
  • PATH updates for command-line access

You may be prompted for administrator password on macOS/Linux systems to install system-level dependencies.

3

Verify Installation

After the script completes, verify OpenClaw is installed correctly:

openclaw --version

If the command is not found, you may need to restart your terminal or run source ~/.bashrc (or source ~/.zshrc for zsh) to reload your shell configuration.

⚠️ Security Considerations

Before running any script from the internet with curl | bash, it's good practice to:

The official OpenClaw installation script is open-source and regularly audited, but users should always exercise caution with automated installation scripts.

OpenClaw ClawdBot Onboarding: `openclaw onboard` Setup Wizard

After installing OpenClaw, run the openclaw onboard command to launch an interactive setup wizard that guides you through configuration in under 10 minutes. The wizard configures your AI model, integrations, personality, and security settings.

openclaw onboard

Launch the interactive onboarding wizard

1

Choose AI Model

Select your preferred AI model from supported options:

  • Claude Opus 4.6 - Anthropic's flagship model (recommended)
  • GPT-5 - OpenAI's latest model
  • Kimi K2.5 - Moonshot AI with 2M+ context window
  • GLM 5 - Zhipu AI's open-source model
  • Local Ollama - Privacy-focused offline models

The wizard explains each model's strengths and helps you choose based on your use case.

2

Set API Keys

Enter your API keys for the chosen AI model provider:

API keys are stored securely in your local environment variables and never transmitted to OpenClaw servers.

3

Configure Messaging Channels

Select which messaging platforms to integrate with your agent:

  • WhatsApp, Telegram, Slack, Discord
  • iMessage (via BlueBubbles), Signal
  • Microsoft Teams, Google Chat
  • Matrix, Zalo, WebChat

For each platform, the wizard guides you through authentication and connection setup. You can skip platforms and add them later.

4

Customize SOUL.md Personality

Define your agent's personality through the SOUL.md configuration file:

  • Choose from pre-built personality templates (Professional, Casual, Technical, Creative)
  • Customize communication style, tone, and values
  • Set preferences for verbosity, humor, and formality
  • Define the agent's role and relationship to you

The wizard creates an initial SOUL.md file that you can refine later for more advanced customization.

5

Set Permissions and Access Scope

Configure security boundaries and permission limits:

  • Define which files and directories the agent can access
  • Set command execution permissions and restrictions
  • Configure network access and allowed external services
  • Establish budget limits for AI API usage

Start with restrictive permissions and expand as you become comfortable with the agent's behavior.

6

Test Configuration

The wizard concludes with a test phase:

  • Verify AI model connectivity and authentication
  • Test messaging platform integrations
  • Confirm SOUL.md personality loads correctly
  • Validate permissions and access controls

Any configuration errors are identified and corrected before completing setup.

✅ Onboarding Complete

After completing the wizard, OpenClaw Gateway starts automatically. Your agent is now running and ready to receive commands through configured messaging platforms or the web interface.

OpenClaw Installation Verification: Testing Your Setup

After installation and onboarding, verify that OpenClaw ClawdBot is functioning correctly using these diagnostic commands and checks.

📋

Check Version

Verify the installed OpenClaw version:

openclaw --version

Expected output: Version number (e.g., v2026.2.6 or later)

🔍

Check Service Status

Confirm OpenClaw Gateway is running:

openclaw status

Expected output: Gateway: Running with uptime and connection information

🌐

Access Web Interface

Open the OpenClaw web dashboard in your browser:

http://127.0.0.1:18789/

Expected result: Web dashboard loads showing agent status, recent activity, and configuration options

Troubleshooting Common Issues

"openclaw: command not found"

Solution:

  • Restart your terminal or run source ~/.bashrc (or ~/.zshrc)
  • For npm install: Ensure npm global bin directory is in your PATH
  • For curl install: Re-run the installation script

Gateway won't start

Solution:

  • Check logs with openclaw logs for error messages
  • Verify API keys are correctly configured in environment variables
  • Ensure port 18789 is not already in use by another application
  • Try restarting with openclaw restart

Cannot connect to AI model

Solution:

  • Verify your API key is valid and has not expired
  • Check your API usage limits and billing status
  • Ensure you have internet connectivity for cloud models
  • For local Ollama: Verify Ollama is installed and running

Web interface not accessible

Solution:

  • Confirm Gateway is running with openclaw status
  • Check firewall settings allow connections to port 18789
  • Try accessing http://localhost:18789/ instead
  • Clear browser cache and try a different browser

OpenClaw ClawdBot Platform Installation: macOS, iOS, Android

While the core installation process is similar across platforms, each operating system has specific considerations and optimizations for running OpenClaw ClawdBot.

🍎

macOS Installation

Status: Fully supported (primary development platform)

Standard Installation

Follow the npm or curl installation method above. macOS is the primary development platform for OpenClaw and has the most comprehensive feature support.

macOS-Specific Features

  • iMessage Integration: Native support via BlueBubbles
  • Voice Wake + Talk Mode: Always-on speech recognition
  • System Automation: Full access to macOS automation APIs

Recommended macOS Setup

# Install via Homebrew (if available)
brew install openclaw

# Or use npm
npm install -g openclaw@latest
📱

iOS Installation

Status: Supported with special setup

iOS Considerations

iOS has more restrictive app sandboxing than macOS, requiring specific configuration:

  • Install via official OpenClaw iOS app (recommended)
  • Alternative: Use a-Shell or iSH terminal emulators for Node.js environment
  • Voice Wake + Talk Mode supported with ElevenLabs integration
  • Background execution limited by iOS power management

Setup Steps

  1. Install OpenClaw iOS app from App Store
  2. Follow in-app onboarding wizard
  3. Configure background refresh in iOS Settings
  4. Grant necessary permissions (notifications, microphone, network)
🤖

Android Installation

Status: Supported with community contributions

Android Considerations

Android support is robust with some platform-specific optimizations:

  • Install via Termux for full Node.js environment
  • Native Android app available (recommended)
  • Voice Wake + Talk Mode supported
  • Automation capabilities for Android phone management

Termux Installation

# In Termux app
pkg update && pkg upgrade
pkg install nodejs
npm install -g openclaw@latest
openclaw onboard

OpenClaw ClawdBot Post-Installation: Configuration & Customization

After successful installation and onboarding, customize your OpenClaw ClawdBot setup to match your specific needs and workflow requirements.

SOUL.md Customization

Refine your agent's personality beyond the onboarding wizard defaults:

  • Edit ~/.openclaw/SOUL.md to customize personality in detail
  • Follow Peter Steinberger's 8 rules for effective agent personalities
  • Browse community templates at souls.directory
  • Test changes incrementally and observe behavioral differences
🔌

Skill Installation

Extend your agent's capabilities by installing skills:

  • Browse the 700+ available skills in the ecosystem
  • Install from ClawHub marketplace or official repository
  • Always review skill code before installation for security
  • Prefer VirusTotal-scanned skills for safety
🛡️

Security Hardening

Implement security best practices to protect your agent and data:

  • Bind Gateway to localhost only (default: 127.0.0.1)
  • Configure firewall rules to block unauthorized access
  • Enable comprehensive audit logging
  • Set API usage limits and budget constraints
  • Use local models for sensitive data processing
🔗

Integration Setup

Connect additional services and platforms beyond onboarding:

  • Add email accounts (Gmail, Outlook, etc.)
  • Connect calendar services (Google Calendar, Outlook Calendar)
  • Integrate productivity tools (Notion, Todoist, Trello)
  • Set up smart home device connections
💾

Backup Configuration

Protect your agent configuration and data with backups:

  • Backup ~/.openclaw/ directory regularly
  • Export SOUL.md and custom configurations
  • Save API keys securely (password manager recommended)
  • Document custom skills and integrations
  • Test restoration procedures periodically

OpenClaw ClawdBot First Steps: Your Agent's First Tasks

Now that OpenClaw is installed and configured, test your agent with these recommended first steps. These activities help you understand agent capabilities and build confidence in autonomous operations.

Step 1

Test Basic Commands

Send simple commands to your agent through a configured messaging platform:

You: "What's the weather today?"
You: "Summarize my unread emails"
You: "What's on my calendar for tomorrow?"

Verify the agent responds appropriately and executes tasks correctly.

Step 2

Install Essential Skills

Add foundational skills to expand agent capabilities:

  • Email Management: Read, search, and organize emails
  • Calendar Integration: Schedule, update, and check appointments
  • Task Management: Create and track to-do items
  • Information Retrieval: Web search and data lookup

Install from ClawHub or official repository, always reviewing code first.

Step 3

Connect Messaging Platforms

If you skipped any platforms during onboarding, add them now:

openclaw add-integration

Follow prompts to authenticate and connect additional messaging services. Test each integration with a simple message.

Step 4

Create First Autonomous Task

Set up a simple autonomous action to demonstrate agent independence:

Example 1: "Check my email every hour and notify me of urgent messages"
Example 2: "Remind me of upcoming calendar events 15 minutes before they start"
Example 3: "Monitor a specific Slack channel and alert me of mentions"

Observe how the agent executes periodic tasks without prompting.

Step 5

Review Security Settings

Before heavy usage, audit your security configuration:

  • Verify Gateway is bound to localhost only
  • Check file system access permissions are appropriate
  • Review API usage limits and budget constraints
  • Enable audit logging for command execution
  • Test that sensitive data handling follows your policies

Make adjustments based on your security requirements and risk tolerance.

Continue Learning

After completing these first steps, explore advanced features:

Explore More OpenClaw ClawdBot Resources

Features

Discover all OpenClaw capabilities including SOUL.md, messaging, and autonomous actions

🤖

AI Models

Complete guide to supported models: Claude, GPT, Kimi, GLM, and local options

🛡️

Security

Comprehensive security guide covering vulnerabilities, risks, and safety practices

🔌

Ecosystem

Explore 700+ skills, ClawHub marketplace, and extensible plugin architecture