lminstall reference
CLI subcommands, flags, supported provider IDs, launch backends, environment variables, and exit codes for lminstall.
CLI subcommands and flags
| Subcommand or flag | Description |
|---|---|
| lminstall list [--json] | List all supported coding providers, binaries, and official channel sources. |
| lminstall install <provider...> [--root DIR] [--json] | Install and verify one or more providers under the owned root prefix. |
| lminstall status [<provider...>] [--root DIR] [--json] | Report installation state (absent, incomplete, broken, installed, unavailable) and exit 0. |
| lminstall upgrade <provider...> [--root DIR] [--json] | Upgrade managed providers from their official channel and verify --version. |
| lminstall uninstall <provider...> [--root DIR] [--json] | Remove the owned prefix directory for each specified provider. |
| lminstall configure <provider> [FLAGS] | Create an owned launch profile under --profile-dir ABS without reading secrets. |
| lminstall run <provider> --profile-dir ABS -- [ARGS...] | Run a provider in an ephemeral isolated HOME with an in-memory credential bridge. |
| lminstall env <provider> --profile-dir ABS --runtime-dir ABS | Render a persistent mock-backend runtime directory and print environment exports. |
| lminstall lmctl --root DIR [--release TAG|latest] [--candidate FILE] | Install the aggregate lmctl and lmscript package tree from GitHub releases. |
| --root DIR / LMINSTALL_ROOT | Select the owned installation root prefix. |
| --manifest FILE | Replace the embedded provider catalog with a trusted custom JSON manifest. |
| --backend mock|ollama-cloud|ollama-local | Target model backend for lminstall configure (ollama-local is accepted by the parser but returns an explicit unsupported error). |
| --base-url URL / --model ID | Upstream base URL and model identifier for lminstall configure. |
| --credential-env NAME | Environment variable name read at lminstall run time by the loopback bridge. |
| --format plan|github-env|sh | Output format for configure (plan, github-env) and env (plan, github-env, sh). |
Supported provider catalog
| Provider ID | Binary | Channel type | Runtime prerequisite |
|---|---|---|---|
| claude | claude | Native manifest + SHA-256 payload | None (standalone native binary). |
| codex | codex | GitHub release archive + SHA-256 | None (standalone native binary). |
| gemini | gemini | Go in-process npm (@google/gemini-cli) | node on PATH. |
| copilot | copilot | GitHub release archive + SHA256SUMS.txt | None (standalone native binary). |
| opencode | opencode | GitHub release archive + SHA-256 | None (standalone native binary). |
| kimi | kimi | Native manifest + SHA-256 binary | None (standalone native binary). |
| qwen | qwen | Standalone archive + SHA256SUMS | None (bundles its own Node runtime). |
| pi | pi | Go in-process npm (@earendil-works/pi-coding-agent) | node on PATH. |
| dsh | dsh | Go in-process npm (@deepseek-ai/dsh) | node on PATH. |
| lmctl | lmctl, lmscript | Go in-process npm (@lmctl-ai/lmctl) | node >= 24.15 on PATH. |
| miniplayer | miniplayer | GitHub source tarball via Go npm client | node on PATH. |
| lmplayer | lmplayer | GitHub release archive + SHA-256 | None (standalone native binary). |
| hermes | hermes | In-process Go Git + pinned uv and Python 3.14 | Self-bootstrapped inside owned prefix. |
| agy | agy | Official updater manifest + SHA-512 artifact | None (standalone native binary). |
| muse | muse | Native muse-stable manifest + SHA-256 + size | None (standalone native binary). |
| claudemock | (fixture) | Declared unavailable standalone CLI | Built into lmctl via LMCTL_ENABLE_MOCK_PROVIDER=1. |
Exit codes
| Code | Meaning |
|---|---|
| 0 | Command succeeded (or status query completed). |
| 1 | Operation failure (download, checksum verification, --version check, or runtime launch error; or preserved non-zero child exit in run). |
| 2 | Invalid CLI arguments or invalid manifest/profile data. |
| 3 | Requested provider distribution is declared unavailable (for example claudemock). |