CLI Installation

Install the HookWatch CLI to forward webhooks to your local development server, manage cron jobs, and use the interactive dashboard.

Download

Download the latest release for your platform from the GitHub Releases page.

macOS (Apple Silicon)

Terminal

For Intel Macs, use hookwatch_darwin_amd64.tar.gz

Linux (x86_64)

Terminal

For ARM64, use hookwatch_linux_arm64.tar.gz

Windows

Download hookwatch_windows_amd64.zip from the releases page, extract, and add to your PATH.

Verify Installation

Check that the CLI is installed correctly:

Terminal

Authentication

Log in to connect the CLI to your HookWatch account:

Terminal

Interactive Login (Default)

Run hookwatch login to enter your email and password. After login, an API key is automatically created and stored in your config.

Browser Login

Use hookwatch login --browser to authenticate via your browser. The CLI starts a local callback server and opens the dashboard login page.

API Key (Scripts & CI/CD)

Pass your API key with the global --api-key flag or set HOOKWATCH_API_KEY environment variable.

Available Commands

CommandDescription
hookwatch forwardForward webhooks to localhost
hookwatch uiOpen interactive TUI dashboard
hookwatch cronManage cron jobs
hookwatch endpointsManage webhook endpoints
hookwatch eventsView, replay, and export webhook events
hookwatch alertsManage alert notifications
hookwatch api-keysManage API keys
hookwatch teamsManage teams and members
hookwatch agentManage CLI agents
hookwatch wsManage WebSocket proxy endpoints
hookwatch testSend test webhooks
hookwatch configManage CLI configuration
hookwatch loginAuthenticate with HookWatch
hookwatch updateUpdate CLI to latest version
hookwatch versionPrint version information
hookwatch uninstallUninstall the CLI
hookwatch completionGenerate shell completions

Run hookwatch --help or hookwatch <command> --help for detailed usage.

Shell Completion

Enable tab completion for your shell:

Bash

hookwatch completion bash > /etc/bash_completion.d/hookwatch

Zsh

hookwatch completion zsh > ~/.zsh/completions/_hookwatch

Fish

hookwatch completion fish > ~/.config/fish/completions/hookwatch.fish

Next Steps

After installation, try hookwatch ui to launch the interactive dashboard, or hookwatch forward my-endpoint to start forwarding webhooks.

Related