CLI

June 4, 2026 · View on GitHub

Two CLI surfaces ship with Hollow. They are not redundant — each one fits a different use case.

ToolTalks toNeeds ttyBest for
hollow cli …host command socketnoscripts, CI, automation
hollow-cliOSC over ttyyesprompt hooks, in-shell UI

Both are documented individually:

The native subcommand wins on every axis that matters for scripts: it does not need a tty, it does not need shell integration sourced, and it is the fastest option when a Hollow window is already running. Use it for any host-side automation.

The Python client exists for shell-built-in use cases that have no host-side executable available (some WSL, SSH, and PowerShell flows). See Shell integration for the higher-level overview and HTP protocol for the wire format.

Choosing between them

ScenarioUse
A Python or PowerShell script in CIhollow cli …
A bash script running inside Hollowhollow-cli (OSC) or hollow cli
A prompt hook that reports cwdhollow-cli (or the shipped shell-integration/ snippets)
A Lua plugin that drives Hollowthe hollow.term API directly
An automated test that talks to Hollowhollow cli …
SSH from a remote box into the hostneither — neither is reachable

See also