Skip to main content
The hooksnode CLI sends the webhooks that your project receives to a port on your computer. See Listen.

Download the latest release

Binaries for macOS, Linux and Windows, on Intel and ARM.

Install

The macOS builds are signed and notarized by Apple, so they run without a Gatekeeper warning. Upgrade later with brew upgrade hooksnode.
Check that it works:
On macOS, if Gatekeeper blocks a binary that you downloaded in a browser, run xattr -d com.apple.quarantine hooksnode. The install script does not need this.

Sign in

1

Make an API key

In the dashboard, open your workspace → API keysCreate key. Copy the key. hooksnode shows it only once.
2

Log in

Press Enter to use the default host (https://hooksnode.com), then paste the key. The CLI checks the key and saves it:
The CLI saves the key in ~/.hooksnode/config.json, which only you can read (mode 0600).

Configuration

The CLI reads each setting from, in order:
  1. A flag: --api-key, --host
  2. An environment variable: HOOKSNODE_API_KEY, HOOKSNODE_HOST
  3. The config file
If you give a key but no host, the CLI uses https://hooksnode.com.

Update

Run the install script again, or download the new archive. hooksnode --version shows the version, commit and build date.

Log out

This deletes the config file.