Home Tutorials Categories Skills About
ZH EN JA KO

Quick Deploy OpenClaw

Follow these steps to install and start using OpenClaw in minutes

Latest Version v3.2.0
1

Install Node.js 22+

OpenClaw requires Node.js 22 or higher. Choose your platform to download:

Windows users note: The .msi installer will automatically configure the PATH environment variable. If the terminal cannot find the node command after installation, manually add the Node.js installation path (default C:\Program Files\nodejs\) to your system PATH, then reopen the terminal.

You can also install via package managers:

Windows (winget)
winget install OpenJS.NodeJS.LTS
macOS (Homebrew)
brew install node@22
Linux (Ubuntu/Debian)
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - && sudo apt-get install -y nodejs
2

Verify Node.js Installation

Open a terminal and run the following command to check the version:

node --version

Output should be v22.x.x or higher

3

Install OpenClaw Globally

One-command install with npm:

npm install -g openclaw
4

Verify Installation

Confirm OpenClaw is installed correctly:

openclaw --version
5

Configure API Key

On first run, OpenClaw will guide you through configuring your AI model API Key:

openclaw init

Supports Anthropic Claude, OpenAI GPT, local Ollama, and more

6

Start OpenClaw

All set — launch your AI assistant:

openclaw start

Dashboard available at http://localhost:3000 by default

1

Install Docker

Make sure Docker Engine 20.10+ or Docker Desktop is installed. Choose your platform:

Linux users can install via command:

curl -fsSL https://get.docker.com | sh
2

Pull Image

Pull the latest OpenClaw image from Docker Hub:

docker pull openclaw/openclaw:latest
3

Create Config File

Create a local config directory and file:

mkdir -p ~/.openclaw && touch ~/.openclaw/config.json5

Configure your API Key and channel settings in config.json5

4

Start Container

Run the Docker container with mounted config directory:

docker run -d --name openclaw -p 3000:3000 -v ~/.openclaw:/root/.openclaw --restart unless-stopped openclaw/openclaw:latest
5

View Logs

Confirm the container is running properly:

docker logs -f openclaw
Recommended Docker Compose Config

For production, Docker Compose is recommended for easier multi-service orchestration:

version: '3.8' services: openclaw: image: openclaw/openclaw:latest ports: - "3000:3000" volumes: - ./config:/root/.openclaw restart: unless-stopped

Save as docker-compose.yml, run docker compose up -d to start

1

Install Node.js 22+ and Git

Building from source requires Node.js 22+ and Git.

2

Verify Environment

Confirm Node.js, Git, and npm are properly installed:

node --version && git --version && npm --version
3

Clone Repository

Clone the OpenClaw source code from GitHub:

git clone https://github.com/openclaw/openclaw.git
4

Install Dependencies and Build

Enter the project directory, install dependencies, and build:

cd openclaw && npm install && npm run build
5

Configure and Start

Initialize configuration and start the service:

npm run init && npm start

Dashboard available at http://localhost:3000 by default

System Requirements

Operating System

Windows 10+, macOS 12+, Ubuntu 20.04+

Node.js 22+

Required for npm install and source build methods

2GB+ RAM

Minimum 2GB RAM, 4GB+ recommended

API Key

Requires an API Key from Anthropic, OpenAI, or similar (or use local Ollama)

Network Connection

Required for accessing AI model APIs (except local models)

Disk Space

At least 500MB free space

Get Started with OpenClaw

Free and open-source. Install with one command. Connect to WhatsApp, Telegram, Discord, and more.