# 使用 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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:direvent
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/direvent>
- **版本:** 5.4
- **来源摘要:** Monitors events in the file system directories
- **主页:** <https://www.gnu.org.ua/software/direvent/direvent.html>
- **仓库:** <https://git.savannah.gnu.org/cgit/direvent.git>
- **上游文档:** <https://www.gnu.org.ua/software/direvent/direvent.html>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://ftpmirror.gnu.org/gnu/direvent/direvent-5.4.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- direvent (cli)
- direvent (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 5.4
- 本地数据: OK
- 上游仓库: https://www.gnu.org.ua/software/direvent/direvent.html
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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
## 源数据库详情

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

## 其他软件包管理器记录

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


## 相关链接

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


## 来源

- 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
