This repository provides a very small cross-platform launcher for the public OpenClaw Docker image.
It is designed for ordinary users who want a simple install flow:
- no zip download
- no manual extraction
- no manual compose setup
The public image used by this launcher is:
ernestyu/openclaw-patched:latest
This image is multi-platform, so Docker automatically pulls the correct image for:
linux/amd64linux/arm64
That means the same launcher works on:
- Windows
- macOS
- Linux
Docker must already be installed and running.
For most users, the easiest option is Docker Desktop.
If Docker is not installed, the installer will stop and ask you to install Docker first.
curl -fsSL https://raw.githubusercontent.com/ernestyu/openclaw-launcher/main/install.sh | bashiwr https://raw.githubusercontent.com/ernestyu/openclaw-launcher/main/install.ps1 -useb | iexYou can fully script the installer with environment variables:
OPENCLAW_DIRsets the install directoryOPENCLAW_MODEcan bewebuiorheadlessOPENCLAW_NO_EDIT=1skips the.enveditor prompt
Examples:
OPENCLAW_DIR="$HOME/openclaw" OPENCLAW_MODE=webui OPENCLAW_NO_EDIT=1 \
curl -fsSL https://raw.githubusercontent.com/ernestyu/openclaw-launcher/main/install.sh | bash$env:OPENCLAW_DIR="$HOME\openclaw"
$env:OPENCLAW_MODE="webui"
$env:OPENCLAW_NO_EDIT="1"
iwr https://raw.githubusercontent.com/ernestyu/openclaw-launcher/main/install.ps1 -useb | iexThe installer will:
- Check that Docker is installed and running
- Ask for an install directory
- Ask whether to install Web UI mode or Headless mode
- Download a
compose.yamltemplate - Download
.env.example - Create
.envif it does not exist - Create
data/ - Pull the image
- Start OpenClaw
This repository contains only a few files:
assets/compose-webui.yamlassets/compose-headless.yamlassets/.env.exampleCODE_OF_CONDUCT.mdCONTRIBUTING.mdinstall.shinstall.ps1README.mdREADME_zh.mdSECURITY.mdLICENSE
The installer downloads the required files into your chosen local install directory.
From your install directory, run:
docker compose up -dThe compose file uses:
pull_policy: dailySo if the last pull was more than 24 hours ago, Docker Compose will check for a newer image and pull it automatically before starting.
You do not need a separate update script.
From your install directory, run:
docker compose downFrom your install directory, run:
docker compose logs -fFrom your install directory, first stop the container:
docker compose downThen simply delete the whole install directory.
That is enough, because this launcher keeps everything inside that local folder, including:
compose.yaml.envdata/
- The launcher uses the public image
ernestyu/openclaw-patched:latest - Web UI mode binds to
http://localhost:3060on your machine - Headless mode does not expose any ports
- Persistent data is stored in
./data - The launcher is intentionally kept small and simple
MIT. See LICENSE.
Please read CONTRIBUTING.md before opening pull requests.
Please read SECURITY.md before reporting security issues.