HomeDeployment Guide
Deployment Guide
Choose your deployment environment and follow the steps to get configured
Perfect for running on your own Mac/Windows/Linux machine for easy debugging and development. Docker Desktop deployment is the simplest approach.
1
Deploy with Docker Compose (Recommended)
yaml
version: '3.8'
services:
openclaw:
image: openclaw/gateway:latest
container_name: openclaw-gateway
ports:
- "4000:4000"
volumes:
- ./data:/app/data
- ~/.openclaw:/root/.openclaw
restart: unless-stopped
environment:
- NODE_ENV=production2
Start Services
bash
docker compose up -d
docker compose logs -f3
Direct Install (Without Docker)
bash
# 安装 nvm(Mac/Linux)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
source ~/.zshrc
nvm install 20 && nvm use 20
npm install -g openclaw
openclaw gateway start