Quick Deploy OpenClaw
Follow these steps to install and start using OpenClaw in minutes
Install Node.js 22+
OpenClaw requires Node.js 22 or higher. Choose your platform to download:
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:
winget install OpenJS.NodeJS.LTSbrew install node@22curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - && sudo apt-get install -y nodejsVerify Node.js Installation
Open a terminal and run the following command to check the version:
node --versionOutput should be v22.x.x or higher
Install OpenClaw Globally
One-command install with npm:
npm install -g openclawVerify Installation
Confirm OpenClaw is installed correctly:
openclaw --versionConfigure API Key
On first run, OpenClaw will guide you through configuring your AI model API Key:
openclaw initSupports Anthropic Claude, OpenAI GPT, local Ollama, and more
Start OpenClaw
All set — launch your AI assistant:
openclaw startDashboard available at http://localhost:3000 by default
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 | shPull Image
Pull the latest OpenClaw image from Docker Hub:
docker pull openclaw/openclaw:latestCreate Config File
Create a local config directory and file:
mkdir -p ~/.openclaw && touch ~/.openclaw/config.json5Configure your API Key and channel settings in config.json5
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:latestView Logs
Confirm the container is running properly:
docker logs -f openclawFor 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-stoppedSave as docker-compose.yml, run docker compose up -d to start
Install Node.js 22+ and Git
Building from source requires Node.js 22+ and Git.
Verify Environment
Confirm Node.js, Git, and npm are properly installed:
node --version && git --version && npm --versionClone Repository
Clone the OpenClaw source code from GitHub:
git clone https://github.com/openclaw/openclaw.gitInstall Dependencies and Build
Enter the project directory, install dependencies, and build:
cd openclaw && npm install && npm run buildConfigure and Start
Initialize configuration and start the service:
npm run init && npm startDashboard available at http://localhost:3000 by default
System Requirements
Windows 10+, macOS 12+, Ubuntu 20.04+
Required for npm install and source build methods
Minimum 2GB RAM, 4GB+ recommended
Requires an API Key from Anthropic, OpenAI, or similar (or use local Ollama)
Required for accessing AI model APIs (except local models)
At least 500MB free space
Get Started with OpenClaw
Free and open-source. Install with one command. Connect to WhatsApp, Telegram, Discord, and more.