# Install webhook with Homebrew, apk, apt, MacPorts, Nix, pacman, scoop

Lightweight, configurable incoming webhook server. Version 2.8.3 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:webhook
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install webhook
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install webhook
```

  Evidence: MacPorts ports tree: net/webhook/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add webhook
```

  Evidence: Alpine Linux edge package indexes: webhook from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install webhook
```

  Evidence: Debian stable package indexes: webhook from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#webhook
```

  Evidence: nixpkgs package indexes: pkgs/by-name/we/webhook/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S webhook
```

  Evidence: Arch Linux sync databases: webhook from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/webhook
```

  Evidence: Scoop official bucket manifest trees: bucket/webhook.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:webhook
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/webhook>
- **Version:** 2.8.3
- **Source summary:** Lightweight, configurable incoming webhook server
- **Homepage:** <https://github.com/adnanh/webhook>
- **Repository:** <https://github.com/adnanh/webhook>
- **Upstream docs:** <https://github.com/adnanh/webhook#readme>
- **License:** MIT
- **Source archive:** <https://github.com/adnanh/webhook/archive/refs/tags/2.8.3.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- webhook (cli)
- webhook (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.8.3
- Local data: ok
- Upstream repository: https://github.com/adnanh/webhook
- Upstream latest detected: 2.8.3 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

webhook is a small Go service for turning incoming HTTP requests into guarded command execution on a server. Its niche is deliberately plain: define hooks in JSON or YAML, expose HTTP endpoints, validate request data with rules, and run configured scripts or commands when a matching event arrives.

### Project history

The public GitHub repository was created on January 12, 2015, and its first listed GitHub release, webhook 1.0.4, was published on March 13, 2015. The project has continued as an MIT-licensed command-line daemon under Adnan Hadziabdic's `adnanh/webhook` repository, with later 2.x releases still appearing as of 2026.

The README describes the tool as a lightweight configurable incoming webhook server written in Go. That framing has remained stable across the project's life: it is not a full automation platform, but a minimal bridge between webhook providers and local server-side commands.

### Adoption history

webhook's adoption has been strongest in self-hosted and operations workflows where users want a single-purpose listener instead of a larger CI/CD or eventing system. The upstream README points to guides for automatic deployments, JIRA integration, Ansible AWX job triggers, Salt-based static-site deployment, Plex-to-Telegram notifications, and other practical automation examples.

By July 2026 the GitHub repository showed roughly twelve thousand stars and hundreds of forks via the public GitHub API, a sign that it became a recognizable Unix-style building block for small webhook automation jobs.

### How it is used

A typical setup defines one or more hooks in `hooks.json` or `hooks.yaml`. Each hook names an id, a command to execute, optional working directory and argument mappings, and trigger rules that can inspect headers, payload fields, or query parameters before the command runs.

Administrators commonly run webhook as a long-lived service behind a firewall, reverse proxy, or systemd unit, then wire providers such as GitHub, GitLab, monitoring systems, or chat tools to call the hook endpoint. Its package-nerd appeal is that the behavior is transparent: HTTP in, rule check, process execution out.

### Why package nerds care

webhook matters because it packages a common shell-ops pattern without demanding a workflow server. For people maintaining small servers, lab machines, media boxes, or personal deployment targets, it is the sort of boring CLI that replaces a pile of ad hoc CGI scripts while still feeling close to the shell.

### Timeline

- 2015-01-12: Public GitHub repository `adnanh/webhook` created.
- 2015-03-13: First listed GitHub release, webhook 1.0.4, published.
- 2020-05-12: webhook 2.7.0 released.
- 2020-12-06: webhook 2.8.0 released.
- 2026-02-12: webhook 2.8.3 released.

### Related projects

- webhook sits near lightweight automation tools such as shell scripts, cron jobs, systemd units, and small CI deploy hooks. It overlaps with larger CI/CD systems only at the edge where an external HTTP event needs to trigger a local command.

### Sources

- <https://api.github.com/repos/adnanh/webhook>
- <https://api.github.com/repos/adnanh/webhook/releases>
- <https://github.com/adnanh/webhook>
- <https://github.com/adnanh/webhook/blob/master/docs/Hook-Examples.md>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: hooks.json, hooks.yaml

## Credential files

- Unix: hooks.json, hooks.yaml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** webhook
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - webhook - 2.8.0-4+b19: normalized package name match | Debian stable package indexes: webhook from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Small server for creating HTTP endpoints (hooks) | https://github.com/adnanh/webhook
- Nix - webhook: normalized package name match | nixpkgs package indexes: pkgs/by-name/we/webhook/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - webhook - 2.8.0-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: webhook from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Small server for creating HTTP endpoints (hooks) | https://github.com/adnanh/webhook
- apk - webhook - 2.8.3-r3: normalized package name match | Alpine Linux edge package indexes: webhook from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Lightweight configurable webhooks server | https://github.com/adnanh/webhook
- pacman - webhook - 2.8.3-1: normalized package name match | Arch Linux sync databases: webhook from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A lightweight incoming webhook server to run shell commands | https://github.com/adnanh/webhook
- MacPorts - webhook: normalized package name match | MacPorts ports tree: net/webhook/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/webhook: normalized package name match | Scoop official bucket manifest trees: bucket/webhook.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [shell2http](https://www.automicvault.com/pkg/brew/shell2http/) - Shares av.db curated category or tags: automation, cli, developer-tools, http-server, webhooks.
- [gaze](https://www.automicvault.com/pkg/brew/gaze/) - Shares av.db curated category or tags: automation, cli, command-runner, developer-tools.
- [wgo](https://www.automicvault.com/pkg/brew/wgo/) - Shares av.db curated category or tags: automation, cli, command-runner, developer-tools.
- [ahoy](https://www.automicvault.com/pkg/brew/ahoy/) - Shares av.db curated category or tags: automation, cli, developer-tools.
- [clive](https://www.automicvault.com/pkg/brew/clive/) - Shares av.db curated category or tags: automation, cli, developer-tools.
- [cmdshelf](https://www.automicvault.com/pkg/brew/cmdshelf/) - Shares av.db curated category or tags: automation, cli, developer-tools.
- [docker-gen](https://www.automicvault.com/pkg/brew/docker-gen/) - Shares av.db curated category or tags: automation, cli, developer-tools.
- [empty](https://www.automicvault.com/pkg/brew/empty/) - Shares av.db curated category or tags: automation, cli, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/webhook.yml](https://github.com/automic-vault/db/blob/main/combined/webhook.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
