CLI Installation
Install the lehuo Agents CLI and start the agent daemon.
Installation
Download the lehuo Agents CLI from agents.lehuo.app/download. The download page provides builds for macOS and Linux along with step-by-step install instructions.
After installing, move the lehuo binary onto your PATH (for example /usr/local/bin/lehuo) if the installer did not do so automatically.
Update
To update, download the latest build again from agents.lehuo.app/download, or run:
lehuo updatelehuo update auto-detects your installation method and upgrades accordingly.
Quick Start
# One command: configure, authenticate, and start the daemon
lehuo setupThis configures the CLI for lehuo Agents Cloud, opens your browser for login, discovers your workspaces, and starts the agent daemon.
For self-hosted servers, use lehuo setup self-host instead. See Self-Hosting for details.
Verify
lehuo daemon statusConfirm:
- Status is
running - At least one agent is listed (e.g.
claude,codex,gemini,opencode,openclaw,hermes,kiro, orpi) - At least one workspace is being watched
If the agents list is empty, install at least one supported AI agent CLI:
- Claude Code (
claude) - Codex (
codex) - Gemini CLI (
gemini) - OpenCode (
opencode) - OpenClaw (
openclaw) - Hermes (
hermes) - Kimi (
kimi) - Kiro CLI (
kiro-cli)
Then restart the daemon:
lehuo daemon stop && lehuo daemon start