---
title: Install webhook on elementary OS using the Snap Store | Snapcraft
description: Get the latest version of webhook for on elementary OS - webhook is a
  lightweight incoming webhook server to run shell commands
url: https://snapcraft.io/install/webhook/elementary
---

[Canonical Snapcraft](https://snapcraft.io/)

# Install webhook on **elementary OS**

# webhook

[Adnan Hajdarevic (adnan.h)](https://snapcraft.io/publisher/adnan.h "View all snaps from Adnan Hajdarevic (adnan.h)")

* [Adnan Hajdarevic (adnan.h)](https://snapcraft.io/publisher/adnan.h "View all snaps from Adnan Hajdarevic (adnan.h)")

[Install](https://snapcraft.io/install/webhook/elementary#install)

#### webhook is a lightweight incoming webhook server to run shell commands

webhook is a lightweight configurable tool written in Go, that allows you to easily create HTTP endpoints (hooks) on your server, which you can use to execute configured commands. You can also pass data from the HTTP request (such as headers, payload or query variables) to your commands. webhook also allows you to specify rules which have to be satisfied in order for the hook to be triggered.

For example, if you're using Github or Bitbucket, you can use webhook to set up a hook that runs a redeploy script for your project on your staging server, whenever you push changes to the master branch of your project.

If you use Mattermost or Slack, you can set up an "Outgoing webhook integration" or "Slash command" to run various commands on your server, which can then report back directly to you or your channels using the "Incoming webhook integrations", or the appropriate response body.

webhook aims to do nothing more than it should do, and that is:

* receive the request,
* parse the headers, payload and query variables,
* check if the specified rules for the hook are satisfied,
* and finally, pass the specified arguments to the specified command via command line arguments or via environment variables.

Everything else is the responsibility of the command's author.

For documentation and help visit the [official GitHub project page](<https://github.com/adnanh/webhook>).

### Package name

* webhook

---

### License

* MIT

---

### Last updated

* 22 May 2023 - latest/stable
* 22 May 2023 - latest/edge

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

### Websites

* [github.com/adnanh/webhook](https://github.com/adnanh/webhook "https://github.com/adnanh/webhook")

---

### Contact

* [adnanh+webhook@gmail.com](mailto:adnanh+webhook@gmail.com "mailto:adnanh+webhook@gmail.com")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/install/webhook/elementary#report-snap-modal)

---

## Enable snaps on elementary OS and install webhook

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the [Snap Store](https://snapcraft.io/store), an app store with an audience of millions.

### Enable snapd

Snap can be installed on elementary OS from the command line. Open *Terminal* from the Applications launcher and type the following:

```
sudo apt update
sudo apt install snapd
```

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

### Install webhook

To install webhook, simply use the following command:

```
sudo snap install webhook
```

### Other popular snaps…

[See more...](https://snapcraft.io/search?categories=featured)

[See more in Featured](https://snapcraft.io/search?categories=featured)

### More things to do…

#### [Get the snap store](https://snapcraft.io/snap-store)

Browse and find snaps from the convenience of your desktop using the snap store snap.

#### [Learn more about snaps](https://snapcraft.io/docs)

Interested to find out more about snaps? Want to publish your own application? Visit [snapcraft.io](https://snapcraft.io/) now.

[Back to top](https://snapcraft.io/install/webhook/elementary)

© 2026 Canonical Ltd.
Ubuntu and Canonical are registered trademarks of Canonical Ltd.

Powered by [Charmed Kubernetes](https://www.ubuntu.com/kubernetes)

[Join the forum](https://forum.snapcraft.io/), contribute to or report problems with,
[snapd](https://bugs.launchpad.net/snapd),
[Snapcraft](https://bugs.launchpad.net/snapcraft),
or [this site](https://github.com/canonical/snapcraft.io/issues/new).

* [Share on Twitter](https://twitter.com/snapcraftio)
* [Share on Facebook](https://www.facebook.com/snapcraftio)
* [Share on YouTube](https://www.youtube.com/snapcraftio)

* [Terms of Service](https://ubuntu.com/legal/terms-and-policies/snap-store-terms)
* [Data privacy](https://www.ubuntu.com/legal/data-privacy)
* [Manage your tracker settings](https://snapcraft.io/install/webhook/elementary)
* [Service status](https://status.snapcraft.io/)
* [Other functions](https://dashboard.snapcraft.io/)
* [Contact us](https://snapcraft.io/about/contact-us)
