CLI Overview

Manage hookstream from the terminal — stream events live, create sources, replay webhooks, and script everything.

The hookstream CLI (/cli) is a command-line tool for managing your webhook infrastructure. It does everything the dashboard does — plus things the dashboard cannot, like streaming events to your terminal in real time and piping results through jq.

Install and log in

What you can do

Real-time streaming

hookstream listen streams events from any source to your terminal over WebSocket — perfect for local development.

Learn More
Full CRUD

Manage sources, destinations, connections, topics, alerts, and channels without leaving the terminal.

Learn More
Browser login

Device-flow authentication — no copy-pasting API keys. Also supports --api-key and HOOKSTREAM_API_KEY for CI.

Learn More
Scriptable output

Every command supports --json for clean, machine-readable output ready to pipe into jq or other tools.

Learn More

When to reach for the CLI

  • Local webhook development — run hookstream listen --forward http://localhost:3000/webhook to receive live webhooks on your laptop.
  • CI/CD pipelines — create sources, destinations, and connections as part of your deploy scripts.
  • Quick ops — triage a failed delivery, reset a circuit breaker, or check metrics without opening the dashboard.
  • Bulk operations — replay events, retry failed deliveries, or export collections.
  • Debugginghookstream events get <id> shows full headers and payload inline.

Command groups

The CLI has 19 command groups and 50+ subcommands. The most common ones:

GroupPurpose
login, logout, whoamiAuthentication
initFirst-run onboarding wizard
test, listenSend test events and stream webhooks live
sources, destinations, connectionsCore pipeline resources
events, deliveriesInspect event history and delivery attempts
metricsUsage and latency stats
topics, replayPub/sub fan-out and historical replay
issues, alerts, channelsObservability and notifications
collectionsInstant Database
applicationsOutbound webhooks
billingPlan and usage

See the full command reference for every command and option.

Quick example

Send a test event to a source and watch it arrive in real time — two terminals:

hookstream listen

The CLI reads your API key from ~/.config/hookstream/config.json after hookstream login. You can also pass --api-key per command or set HOOKSTREAM_API_KEY — see Authentication.

Next steps

Install

npm, pnpm, yarn, or bun.

Learn More
Authenticate

Browser flow or API key.

Learn More
Commands

Full reference.

Learn More
Ask a question... ⌘I