macOS
brew install entrlocal Homebrew formula metadata
sudo port install entrMacPorts ports tree · sysutils/entr/Portfile · 来源: api.github.com
安装
brew install entrlocal Homebrew formula metadata
sudo port install entrMacPorts ports tree · sysutils/entr/Portfile · 来源: api.github.com
sudo apk add entrAlpine Linux edge package indexes · entr · 来源: dl-cdn.alpinelinux.org
sudo dnf install entrFedora Rawhide package metadata · entr · 来源: dl.fedoraproject.org
nix profile install nixpkgs#entrnixpkgs package indexes · pkgs/by-name/en/entr/package.nix · 来源: api.github.com
sudo pacman -S entrArch Linux sync databases · entr · 来源: geo.mirror.pkgbuild.com
sudo zypper install entropenSUSE Tumbleweed package metadata · entr · 来源: download.opensuse.org
概览
Run arbitrary commands when files change
历史
entr is a small Unix command that runs arbitrary commands when input files change. Its appeal comes from staying close to shell pipelines: users pipe a file list into `entr`, and the tool uses kqueue or inotify to avoid polling.
The README describes entr as an Event Notify Test Runner written to facilitate rapid feedback on the command line. Its implementation deliberately relies on native operating-system event facilities, using kqueue on BSD/macOS-style systems and inotify on Linux.
The release history shows steady maintenance across portability, process-control, and file-notification edge cases. Version 4.3 in 2019 moved hosting from Bitbucket to GitHub and replaced Mercurial with Git in its system-test workflow, a useful marker in the project's packaging history.
entr is broadly packaged for Unix-like systems. The input package facts list Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE package names, and Homebrew formula analytics showed thousands of annual installs during this run.
Its adoption is helped by having no project-specific build system assumptions: examples use standard shell pipelines with `ls`, `find`, `make`, `psql`, Node, Ruby, and web servers, so it fits into many language ecosystems without becoming part of any one of them.
Common uses include rebuilding a project when source files change, running tests after successful builds, restarting a development server, clearing a terminal before command output, and re-running database scripts. The web documentation explains restart mode, directory watching for new files, status filters, and the `/_` placeholder for the changed file.
entr's design leaves file discovery to other tools and command execution to the shell. That keeps the package small, but it also means users compose it with `find`, `ls`, `ag`, `ack`, `make`, or language-specific commands depending on the project.
entr is a classic package-manager tool: tiny, portable, scriptable, and more powerful because it composes with everything else. It occupies the space between ad hoc shell loops and heavier file-watcher daemons, which is why it shows up in many Unix package collections.
For maintainers, the interesting bits are platform event semantics and terminal/process behavior, not dependency management. The NEWS file is mostly a chronicle of inotify, kqueue, signals, file limits, child processes, and terminal handling.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
entr | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://eradman.com/entrproject/
安装元数据
| 软件包键 | brew:entr |
|---|---|
| 版本 | 5.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/entr |
| 主页 | https://eradman.com/entrproject/ |
| 仓库 | https://github.com/eradman/entr |
| 上游文档 | https://eradman.com/entrproject |
| 许可证 | ISC |
| 源码归档 | https://eradman.com/entrproject/code/entr-5.8.tar.gz |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | entr |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
entr 5.7-1
Run arbitrary commands when files change
https://eradman.com/entrproject/
sudo apt install entrentr
nix profile install nixpkgs#entrentr 5.5-1
Run arbitrary commands when files change
https://eradman.com/entrproject/
sudo apt install entrentr 5.8-r0
Event Notify Test Runner: Run arbitrary commands when files change
https://eradman.com/entrproject
sudo apk add entrentr-doc 5.8-r0
Event Notify Test Runner: Run arbitrary commands when files change (documentation)
https://eradman.com/entrproject
sudo apk add entr-docentr 5.8-1.fc45
Run arbitrary commands when files change
http://eradman.com/entrproject/
sudo dnf install entrentr 5.8-1
Run arbitrary commands when files change
http://eradman.com/entrproject
sudo pacman -S entrentr 5.8-1.2
A utility for running arbitrary commands when files change
https://eradman.com/entrproject/
sudo zypper install entrentr
sudo port install entr来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.