# Install direvent with Homebrew, apt, Nix, zypper

Monitors events in the file system directories. Version 5.4 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:direvent
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install direvent
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install direvent
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#direvent
```

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

- zypper (92%):

```sh
sudo zypper install direvent
```

  Evidence: openSUSE Tumbleweed package metadata: direvent from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:direvent
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/direvent>
- **Version:** 5.4
- **Source summary:** Monitors events in the file system directories
- **Homepage:** <https://www.gnu.org.ua/software/direvent/direvent.html>
- **Repository:** <https://git.savannah.gnu.org/cgit/direvent.git>
- **Upstream docs:** <https://www.gnu.org.ua/software/direvent/direvent.html>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://ftpmirror.gnu.org/gnu/direvent/direvent-5.4.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- direvent (cli)
- direvent (alias)

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.4
- Local data: ok
- Upstream repository: https://www.gnu.org.ua/software/direvent/direvent.html
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

GNU Direvent is a directory event monitoring daemon that runs configured commands when filesystem changes occur.

### Project history

GNU Direvent is maintained in Sergey Poznyakoff's GNU software area and documented as a daemon for reacting to events in preconfigured directories. Its manual emphasizes a uniform command-level interface over system-specific filesystem notification mechanisms.

### Adoption history

The project sits in the Unix systems-administration tradition rather than the application-framework world. Its official documentation targets Linux and BSD-style systems, including FreeBSD, NetBSD, OpenBSD, and Darwin, where filesystem event APIs differ but automation needs are similar.

### How it is used

Users define watchers in /etc/direvent.conf or pass an alternate config file on the command line. Each watcher maps filesystem events to external commands, making the tool useful for immediate reactions to changes in important files or directories.

### Why package nerds care

Direvent is interesting to package maintainers because it packages a portable daemon around a notoriously non-portable problem: reacting to filesystem changes across Unix kernels.

### Timeline

- 2013: Documentation copyright period begins for GNU Direvent.
- 2019: Manual updated for GNU Direvent 5.2.
- 2026: Official project page remains maintained under the GNU Ukrainian software site.

### Related projects

- Direvent belongs near other filesystem event tools and init-adjacent automation daemons, but its official documentation focuses on its own watcher configuration model.

### Sources

- <https://www.gnu.org.ua/software/direvent/direvent.html>
- <https://www.gnu.org.ua/software/direvent/manual/direvent.html>
- <https://git.savannah.gnu.org/cgit/direvent.git>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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: /etc/direvent.conf
## Source Database Details

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

## Other Package-Manager Records

- Debian apt - direvent - 5.2-1+b3: normalized package name match | Debian stable package indexes: direvent from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | monitors events in the file system directories | https://www.gnu.org.ua/software/direvent/
- Nix - direvent: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/direvent/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - direvent - 5.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: direvent from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | monitors events in the file system directories | https://www.gnu.org.ua/software/direvent/
- zypper - direvent - 5.5-1.1: normalized package name match | openSUSE Tumbleweed package metadata: direvent from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | File system directory change monitoring tool | https://www.gnu.org/software/direvent/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [inotify-tools](https://www.automicvault.com/pkg/brew/inotify-tools/) - Shares av.db curated category or tags: cli, filesystem, filesystem-monitoring, monitoring, system.
- [collectd](https://www.automicvault.com/pkg/brew/collectd/) - Shares av.db curated category or tags: cli, daemon, monitoring, system.
- [dfc](https://www.automicvault.com/pkg/brew/dfc/) - Shares av.db curated category or tags: cli, filesystem, monitoring, system.
- [duf](https://www.automicvault.com/pkg/brew/duf/) - Shares av.db curated category or tags: cli, filesystem, monitoring, system.
- [dwatch](https://www.automicvault.com/pkg/brew/dwatch/) - Shares av.db curated category or tags: cli, daemon, monitoring, system.
- [findutils](https://www.automicvault.com/pkg/brew/findutils/) - Shares av.db curated category or tags: cli, filesystem, gnu, system.
- [nut](https://www.automicvault.com/pkg/brew/nut/) - Shares av.db curated category or tags: cli, daemon, monitoring, system.
- [renameutils](https://www.automicvault.com/pkg/brew/renameutils/) - Shares av.db curated category or tags: cli, filesystem, gnu, system.
- [stow](https://www.automicvault.com/pkg/brew/stow/) - Local package facts share a topical domain. Shared terms: cli, file, filesystem, gnu, system.
- [shepherd](https://www.automicvault.com/pkg/brew/shepherd/) - Local package facts share a topical domain. Shared terms: cli, daemon, gnu, system.

## Combined YAML source

View the package source record on GitHub. [combined/direvent.yml](https://github.com/automic-vault/db/blob/main/combined/direvent.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
