# 使用 Homebrew, apt, Nix, zypper 安装 direvent

查看 direvent 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install direvent
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install direvent
```

  证据: 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
```

  证据: 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
```

  证据: openSUSE Tumbleweed package metadata: direvent from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:direvent
- **软件包管理器:** Homebrew
- **版本:** 5.5
- **来源摘要:** Monitors events in the file system directories
- **主页:** <https://www.gnu.org.ua/software/direvent/direvent.html>
- **最后更新:** 2026-07-18T05:16:21Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- direvent (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 5.5
## 项目历史与用法

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

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

- <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>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- 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
## 其他软件包管理器记录

- 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.3: normalized package name match | openSUSE Tumbleweed package metadata: direvent from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | File system directory change monitoring tool | https://www.gnu.org/software/direvent/


## Combined YAML source

View the package source record on GitHub. [combined/direvent.yml](https://github.com/mxcl/pkgdb/blob/main/combined/direvent.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
