HiClaw Deployment Guide
Environment Requirements
Section titled “Environment Requirements”Prerequisites: Docker Desktop (Windows/macOS) or Docker Engine (Linux). If deploying on a virtual machine (e.g., ECS or cloud desktop), please use a Linux operating system. If you need a graphical interface, Ubuntu is recommended.
Note: The official image packages currently do not support Windows on virtual machines, because Windows in a VM environment does not use Linux Containers.
- Docker Desktop (Windows / macOS)
- Docker Engine (Linux) or Podman Desktop (Alternative)
Resource Requirements: Minimum 2 CPU cores and 4 GB memory. If you want to deploy multiple Workers for a more powerful Agent Teams experience, 4 CPU cores and 8 GB memory are recommended — OpenClaw has relatively high memory usage. In Docker Desktop, go to Settings → Resources to adjust.
Installation Process
Section titled “Installation Process”Step 1: Open Terminal
Section titled “Step 1: Open Terminal”macOS Installation Command:
bash <(curl -sSL https://higress.ai/hiclaw/install.sh)Windows (PowerShell 5+ supported) Installation Command:
Set-ExecutionPolicy Bypass -Scope Process -Force; $wc=New-Object Net.WebClient; $wc.Encoding=[Text.Encoding]::UTF8; iex $wc.DownloadString('https://higress.ai/hiclaw/install.ps1')Step 2: Select Language
Section titled “Step 2: Select Language”Choose Chinese or English.
Step 3: Select Installation Mode
Section titled “Step 3: Select Installation Mode”It is recommended to select Alibaba Cloud Bailian Quick Install.
Step 4: Select LLM Provider
Section titled “Step 4: Select LLM Provider”Select Bailian. You can also connect to other model services that support the OpenAPI protocol. Note: The Anthropic protocol is not currently supported.
Step 5: Select Model Interface
Section titled “Step 5: Select Model Interface”The Bailian Coding Plan interface differs from the general Bailian interface. It is recommended to select the Coding Plan Interface. Bailian Coding Plan.
Step 6: Select Model Series
Section titled “Step 6: Select Model Series”If you selected Bailian Coding Plan in Step 5, the default model is qwen3.5-plus. After the Matrix room is established, you can send a command to the Manager to switch to other models.
Step 7: Test API Connectivity
Section titled “Step 7: Test API Connectivity”If the test fails, check the model API configuration (e.g., ensure the key is pasted completely without extra spaces). If needed, consult your model provider.
Step 8: Select Network Access Mode
Section titled “Step 8: Select Network Access Mode”- Local Use Only: For local use only
- Allow External Access: Allow external access (e.g., creating Matrix rooms with colleagues)
Press Enter after selecting. The system will configure with default values for:
- Port number
- Gateway host port
- Higress Console host port
- Matrix domain
- Element Web direct access port
- File system domain
Step 9: GitHub Integration and Skills Registry Configuration
Section titled “Step 9: GitHub Integration and Skills Registry Configuration”For the following configurations, press Enter directly to accept the default settings:
- GitHub Integration
- Skills Registry
- Data Persistence
- Docker Volumes
- Manager Workspace
Step 10: Select Manager Worker Runtime
Section titled “Step 10: Select Manager Worker Runtime”Currently OpenClaw and CoPaw are supported, with NanoClaw, ZeroClaw, and others coming in the future.
Step 11: Wait for Installation to Complete
Section titled “Step 11: Wait for Installation to Complete”A login password will be automatically generated upon completion.
Step 12: Log In and Start Using
Section titled “Step 12: Log In and Start Using”- Visit http://127.0.0.1:18088/#/login in your browser
- Log in to Element using your username and password
- Start using “Claw”! Tell the Manager to create Workers and assign tasks
Mobile Access:
- A US Apple ID (or equivalent regional settings) is required to download FluffyChat or Element Mobile (these specific IM clients support the Matrix protocol)
- After downloading, connect to your Matrix server address to manage your Agent team anytime, anywhere
Note: HiClaw has a built-in Higress AI Gateway responsible for managing model API Keys and protecting ingress traffic. Switching and adding model API Keys, as well as managing routes, domains, and certificates, can all be done in the Higress Console.
Upgrade Process
Section titled “Upgrade Process”To update to a new version, simply run the following command in the terminal to perform an in-place upgrade to the latest version by default:
bash <(curl -sSL https://higress.ai/hiclaw/install.sh)During the upgrade, you will be prompted to choose:
- In-place Upgrade: Retains all existing data and configurations
- Fresh Re-installation: Will delete all data
Upgrade to a Specific Version
Section titled “Upgrade to a Specific Version”HICLAW_VERSION=v1.0.5 bash <(curl -sSL https://higress.ai/hiclaw/install.sh)Method 2: Clone Source Code Installation
Section titled “Method 2: Clone Source Code Installation”git clone https://github.com/higress-group/hiclaw.git && cd hiclawHICLAW_LLM_API_KEY="sk-xxx" make installNon-Interactive Mode
Section titled “Non-Interactive Mode”# Use all default valuesHICLAW_NON_INTERACTIVE=1 HICLAW_LLM_API_KEY="sk-xxx" make install
# Custom portsHICLAW_PORT_GATEWAY=8080 HICLAW_PORT_CONSOLE=8001 HICLAW_LLM_API_KEY="sk-xxx" make install
# Specify external data directoryHICLAW_DATA_DIR=~/hiclaw-data HICLAW_LLM_API_KEY="sk-xxx" make install
# Preset all configurationsHICLAW_LLM_PROVIDER=qwen \HICLAW_DEFAULT_MODEL=qwen3.5-plus \HICLAW_LLM_API_KEY="sk-xxx" \HICLAW_ADMIN_USER=admin \HICLAW_ADMIN_PASSWORD=yourpassword \HICLAW_TIMEZONE=Asia/Shanghai \make installConfigurable Options
Section titled “Configurable Options”| Environment Variable | Description | Default Value |
|---|---|---|
HICLAW_LLM_PROVIDER | LLM Provider | qwen |
HICLAW_DEFAULT_MODEL | Default Model | qwen3.5-plus |
HICLAW_LLM_API_KEY | LLM API Key | (Required) |
HICLAW_ADMIN_USER | Admin Username | admin |
HICLAW_ADMIN_PASSWORD | Admin Password | (Auto-generated) |
HICLAW_PORT_GATEWAY | Gateway Port | 8080 |
HICLAW_PORT_CONSOLE | Console Port | 8001 |
HICLAW_DATA_DIR | Data Directory | ~/hiclaw-manager |
DNS Configuration
Section titled “DNS Configuration”After installation, add the following to /etc/hosts:
127.0.0.1 matrix-local.hiclaw.io matrix-client-local.hiclaw.io aigw-local.hiclaw.io fs-local.hiclaw.ioAccessing Services
Section titled “Accessing Services”| Service | Address | Description |
|---|---|---|
| Element Web | http://matrix-client-local.hiclaw.io:8080 | IM Client |
| Higress Console | http://localhost:8001 | Gateway Console |
| MinIO Console | http://localhost:9001 | File Storage Console |
Verifying Installation
Section titled “Verifying Installation”Check Container Status
Section titled “Check Container Status”docker ps | grep hiclaw-managerLog In to Element Web
Section titled “Log In to Element Web”- Open http://matrix-client-local.hiclaw.io:8080
- Log in with the admin account
- The Manager will proactively greet you and introduce its capabilities
Create Your First Worker
Section titled “Create Your First Worker”Via Element Web or CLI:
make replay TASK="创建一个名为 alice 的 Worker,负责前端开发,直接创建。"Common Commands
Section titled “Common Commands”# Send a task to the Managermake replay TASK="Your task description"
# View the latest conversation logmake replay-log
# Uninstall everythingmake uninstall
# Clean up containers and imagesmake cleanTroubleshooting
Section titled “Troubleshooting”Container Fails to Start
Section titled “Container Fails to Start”Check Docker logs:
docker logs hiclaw-manager-agentManager Container Fails to Start
Section titled “Manager Container Fails to Start”View agent log details:
docker exec -it hiclaw-manager cat /var/log/hiclaw/manager-agent.logFor common issues (startup timeout, LAN access, etc.), refer to: docs/zh-cn/faq.md
Cannot Access Element Web
Section titled “Cannot Access Element Web”- Verify DNS configuration is correct
- Check if the port is occupied
- Confirm containers are running properly
Manager Not Responding
Section titled “Manager Not Responding”- Check if the LLM API Key is valid
- Review container logs for errors
- Try restarting the container
More Resources
Section titled “More Resources”- Official Website: https://hiclaw.io/
- GitHub Repository: https://github.com/higress-group/HiClaw
- Quick Start: docs/quickstart.md
- Architecture Documentation: docs/architecture.md
- Development Guide: docs/development.md
- Community Support: Discord / DingTalk Group