hq-cli
hq-cli ships the hq command — the ongoing management CLI for an HQ instance. It is published to npm as @indigoai-us/hq-cli (currently 5.x).
What it is
- The operator-facing CLI: “HQ by Indigo management CLI — modules and cloud sync.”
- Provides the
hqbinary (plus anhq-auth-refreshhelper). - Built on Node ≥22, ESM + TypeScript, Commander 12. Depends on
@indigoai-us/hq-cloudfor sync.
The public seed-mirror may show an early placeholder version (e.g.
0.1.0). The current, canonical CLI is@indigoai-us/hq-cli5.x — that’s the one to install.
Who uses it / when
Everyone operating an HQ instance from the terminal. After hq-core scaffolds the directory, the hq CLI is how you manage modules and drive cloud sync day to day.
Key commands
# module managementhq modules list # show module inventoryhq modules add <repo-url> # clone + register a modulehq modules sync # update all modules to pinned commits
# cloud sync (delegates to @indigoai-us/hq-cloud)hq sync init # authenticatehq sync start # start background synchq sync status # healthhq sync stop # stop background sync
# packs (content packs)hq install @indigoai-us/hq-pack-<name> # install a content packhq packs list # installed packs + the curated cataloghq packs update [name] # re-install the latest (--check-only to peek)hq packs uninstall <name> # un-wire + archive a pack cleanly
# capabilitieshq run / hq secrets exec # schema-driven secret accessPack commands accept --json for machine-readable output — the hq-sync menubar app uses this to power its Packages window.
How it composes
hq-cli handles two concerns: module management (the module system) and cloud sync. Sync subcommands lazily import("@indigoai-us/hq-cloud") only when invoked, so module commands work even without the cloud engine present. The same engine is also driven by the hq-sync menubar app.
Related
- hq-cli architecture — module management + sync bridge internals
- hq-cloud — the sync engine the CLI depends on
- hq-secrets —
hq run/hq secrets execcapability