Generate copy-pasteable bash scripts for Windows (Git Bash), Linux, or Mac
View on GitHubChoose the operating system you're installing on. This affects path formatting and shell compatibility.
Windows with Git Bash, WSL, or similar Unix-like shell
Ubuntu, Debian, Fedora, or other Linux distributions
Mac with Terminal or iTerm2
Where the OpenClaw repository will be cloned and set up
Use this if you're already running this script inside the openclaw repository
Customize your Docker setup with optional configurations.
Mount additional host directories into containers (e.g., for project access)
Mount additional host directories into containers
Create a named volume for /home/node to persist data across container recreations
Install system packages inside the image (e.g., ffmpeg, build tools)
Click to add suggested packages or type custom ones
Install Homebrew inside the container (non-interactive).
Install shell helpers for easier Docker management (clawdock-start, clawdock-stop, etc.)
Build the sandbox image for isolated tool execution
Install Chromium via Playwright inside the container (without npx). Automatically persists browser downloads.
Configure messaging channels for your OpenClaw gateway. You can also do this later.
Save this script to a file and run it in your terminal to install OpenClaw with Docker.
#!/bin/bash
# OpenClaw Docker Installation Script
# Generated by OpenClaw Docker Setup Wizard
set -e
echo "Starting OpenClaw Docker installation..."
# Clone repository
git clone https://github.com/openclaw/openclaw.git
cd openclaw
# Run setup script
./docker-setup.sh
echo "Installation complete!"
echo "Open http://127.0.0.1:18789/ in your browser"
echo "Use the token shown above to authenticate"
install-openclaw.sh)chmod +x install-openclaw.sh to make it executable./install-openclaw.sh in your terminal or Git Bashhttp://127.0.0.1:18789/ in your browser