-
Notifications
You must be signed in to change notification settings - Fork 14
CLI Reference
Every command supports --help for detailed usage and examples:
clawfleet --help # List all available commands
clawfleet <command> --help # Show help for a specific commandThe CLI manages both OpenClaw and Hermes instances. Most commands work identically for either runtime; commands that are runtime-specific are noted below.
Create one or more OpenClaw or Hermes instances.
clawfleet create <N> # Create N OpenClaw instances (default)
clawfleet create <N> --runtime hermes # Create N Hermes instances
clawfleet create <N> --pull # Force re-pull image from registry
clawfleet create <N> --from-snapshot "Soul Name" # Create N OpenClaw instances from a saved soul| Flag | Default | Effect |
|---|---|---|
--runtime |
openclaw |
openclaw or hermes
|
--pull |
false |
Force re-pull of the image even if present locally |
--from-snapshot |
(unset) | OpenClaw-only: load a saved soul into the new instance |
Names are auto-generated by runtime: openclaw-1, openclaw-2, ... or hermes-1, hermes-2, ....
Each instance runs in its own Docker container with two host ports allocated:
| Runtime | Host port 690N
|
Host port 1878N
|
|---|---|---|
| OpenClaw | XFCE desktop via noVNC | OpenClaw Gateway |
| Hermes | Hermes native Dashboard | Hermes messaging Gateway |
Instance data is persisted on the host:
| Runtime | Data path |
|---|---|
| OpenClaw | ~/.clawfleet/data/<name>/openclaw/ |
| Hermes | ~/.clawfleet/data/<name>/hermes/ |
List all instances and their status (both runtimes).
clawfleet listLifecycle commands work for either runtime.
clawfleet start <name> # Start a specific instance
clawfleet start all # Start all instances
clawfleet stop <name>
clawfleet stop all
clawfleet restart <name>
clawfleet restart allDestroy an instance or all instances. By default, instance data is preserved on disk.
clawfleet destroy <name> # Destroy instance (data kept)
clawfleet destroy --purge <name> # Destroy instance and delete its data
clawfleet destroy all # Destroy all instances (data kept)
clawfleet destroy --purge all # Destroy all instances and delete all dataOpen an OpenClaw instance's noVNC desktop in your default browser. OpenClaw only — Hermes instances are headless.
clawfleet desktop <openclaw-name>For Hermes, open its native Dashboard at http://localhost:<dashboard-port> (the port is shown by clawfleet list and on the instance card).
Open an interactive terminal session inside an instance. The behavior depends on the runtime:
| Runtime | What shell opens |
|---|---|
| OpenClaw | bash inside the container as the node user |
| Hermes | the Hermes interactive TUI (hermes command, with venv activated) |
clawfleet shell openclaw-1 # → bash
clawfleet shell hermes-1 # → Hermes TUI chatFor Hermes, the messaging Gateway keeps running independently of the TUI; exiting the TUI (/exit) returns you to your host shell without stopping the bot.
View container logs for an instance (either runtime).
clawfleet logs <name> # Show recent logs
clawfleet logs <name> -f # Follow (stream) logs in real timeConfigure an OpenClaw instance with an LLM provider and chat channel from the CLI. Hermes Configure is Dashboard-only today; for CLI flows on Hermes, use clawfleet shell and Hermes's own commands.
clawfleet configure <openclaw-name>Save, list, and delete instance souls. OpenClaw only.
clawfleet snapshot save <openclaw-instance> # Save with auto-generated name
clawfleet snapshot save <openclaw-instance> --name "My Soul" # Save with custom name
clawfleet snapshot save <openclaw-instance> --name "My Soul" --description "Production config"
clawfleet snapshot list # List all saved souls
clawfleet snapshot delete <soul-name> # Delete a saved soulSouls are stored at ~/.clawfleet/snapshots/. See Soul Archive for details on what data is included.
To create an instance from a saved soul:
clawfleet create 1 --from-snapshot "My Soul"Hermes parity for Soul Archive is on the roadmap. Until then, back up Hermes state by archiving
~/.clawfleet/data/<name>/hermes/manually.
Manage the Web Dashboard.
clawfleet dashboard start # Start as background daemon (auto-restart on crash)
clawfleet dashboard stop # Stop the daemon
clawfleet dashboard restart # Restart the daemon
clawfleet dashboard status # Show daemon status (running/stopped, PID, manager)
clawfleet dashboard serve # Start in foreground (for debugging)
clawfleet dashboard open # Open the Dashboard in your browserThe start command sets up a platform-native service:
-
macOS: LaunchAgent (
~/Library/LaunchAgents/io.clawfleet.dashboard.plist) with KeepAlive and RunAtLoad -
Linux: systemd user service (
~/.config/systemd/user/clawfleet.service) with Restart=on-failure - Fallback: PID-based background process
clawfleet dashboard start --port 9090 --host 0.0.0.0 # Custom port and hostBuild the OpenClaw sandbox Docker image locally.
clawfleet buildThis is the CLI equivalent of clicking Build Image in the Dashboard. The image is ~1.4 GB and the first build takes several minutes.
The Hermes image is published officially by Nous Research; ClawFleet pulls it on demand when you create a Hermes instance. There is no
clawfleet build --runtime hermestoday.
Show current configuration.
clawfleet configPrint version information, including the recommended OpenClaw version pinned to this ClawFleet release.
clawfleet versionClawFleet Wiki
Runtimes
LLM Providers
Messaging Channels
Reference