Install
openclaw skills install openclaw-deployBuild and deploy OpenClaw as Docker images or portable packages. Package OpenClaw with or without personal configuration for easy deployment to other servers.
openclaw skills install openclaw-deployname: openclaw-deploy description: Build and deploy OpenClaw as Docker images or portable packages author: zfanmy-梦月儿 version: 1.0.1 homepage: license: MIT keywords:
Build and deploy OpenClaw as Docker images or portable packages.
# Build both clean and full versions
./scripts/build-portable.sh
# Export for deployment
./scripts/export-portable.sh
# Deploy clean version
./export/deploy.sh user@remote-server clean /opt/openclaw
# Deploy full version
./export/deploy.sh user@remote-server full /opt/openclaw
openclaw-deploy/
├── portable/clean/ # Clean version (no personal data)
├── portable/full/ # Full version (with config)
├── export/ # Deployment packages
│ ├── openclaw-clean-portable.tar.gz
│ ├── openclaw-full-portable.tar.gz
│ └── deploy.sh
└── scripts/
├── build-portable.sh
├── export-portable.sh
└── deploy.sh
# Install Node.js
./install-node.sh
# Start OpenClaw
cd clean && ./start.sh # or cd full && ./start.sh
# Access WebUI
open http://localhost:18789
You can customize paths using environment variables:
# OpenClaw installation directory (default: auto-detect)
export OPENCLAW_INSTALL_DIR=/path/to/openclaw
# OpenClaw config directory (default: ~/.openclaw)
export OPENCLAW_CONFIG_DIR=/path/to/.openclaw
# Output directory (default: ./openclaw-portable-output)
export OUTPUT_DIR=/path/to/output
export OPENCLAW_INSTALL_DIR=/opt/openclaw
export OPENCLAW_CONFIG_DIR=/opt/config/.openclaw
export OUTPUT_DIR=/tmp/openclaw-packages
./scripts/build-portable.sh
zfanmy-梦月儿