CLI Overview
Install the Hookie CLI, authenticate, list apps and sources, and stream webhook events to your machine
The Hookie CLI brings multiplayer webhooks to your machine: stream events from a shared URL, inspect payloads locally, and forward them to your dev server (or an agent session).
Installation
Install from npm (prebuilt binaries). Requires Node.js 18+. Supported platforms: macOS (amd64, arm64), Linux (amd64, arm64), Windows (amd64).
pnpm add -g @hookie-sh/clinpm install -g @hookie-sh/clibun install -g @hookie-sh/cliYou can also run without a global install:
npx @hookie-sh/cli listenAfter installation, verify the binary:
hookie --versionQuick Start
- Authenticate (browser login via app.hookie.sh):
hookie login- List applications:
hookie apps- Listen for webhook events:
hookie listen --app-id <your-app-id>For a temporary webhook URL without picking an app or source, run hookie listen with no flags. That creates an anonymous ephemeral channel, even if you are logged in.
Commands Overview
- Authentication —
loginandlogout - Applications —
apps - Sources —
sources - Listen —
listen(authenticated or anonymous) - Status —
status(relay connectivity and login state) - Configuration —
init,hookie.yml, and environment variables
Shell completion: hookie completion <bash|zsh|fish|powershell>.
Global Flags
--org-id <org-id>— Organization scope (used bylisten,init, and related flows)--debugor-d— Verbose output (headers, query params, body, and more)--versionor-v— Print version
Example:
hookie --org-id <org-id> appsConfiguration
Global
Tokens and machine ID live under ~/.hookie/ (or HOOKIE_CONFIG_DIR). Use hookie login / hookie logout.
Repository
Use hookie.yml for app_id, forward, and per-source URLs. See Configuration.