Command-line tool
entr
brew/entr
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Run arbitrary commands when files change
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install entr
Linux
brew install entr
Rebuild with `make` if any file in any subdirectory changes
ag --files-with-matches | entr make
Rebuild and test with `make` if any `.c` source files in the current directory change
ls *.c | entr 'make && make test'
Send a `SIGTERM` to any previously spawned ruby subprocesses before executing `ruby main.rb`
ls *.rb | entr -r ruby main.rb
Related command-line tools
- watchexec
Execute commands when watched files change rust developer-tools command-line file-watchers - wgo
Watch arbitrary files and respond with arbitrary commands - shawl
Windows service wrapper for arbitrary commands - reflex
Run a command when files change - re-flex
Regex-centric, fast and flexible scanner generator for C++ - lerna
Tool for managing JavaScript projects with multiple packages - fswatch
Monitor a directory for changes and run a shell command - pdftoipe
Reads arbitrary PDF files and generates an XML file readable by Ipe
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents