Automic VaultAutomic Vault

brew

watchexec mit Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für watchexec in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install watchexec

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install watchexec

MacPorts ports tree · sysutils/watchexec/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add watchexec

Alpine Linux edge package indexes · watchexec · Quelle: dl-cdn.alpinelinux.org

Nixverifiziert · 92%
nix profile install nixpkgs#watchexec

nixpkgs package indexes · pkgs/by-name/wa/watchexec/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S watchexec

Arch Linux sync databases · watchexec · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install watchexec

openSUSE Tumbleweed package metadata · watchexec · Quelle: download.opensuse.org

Windows

Scoopverifiziert · 92%
scoop install main/watchexec

Scoop official bucket manifest trees · bucket/watchexec.json · Quelle: api.github.com

Überblick

Paketzusammenfassung

Execute commands when watched files change

Befehle und Aliase

  • watchexec

Verlauf

Projektgeschichte und Nutzung

watchexec is a Rust command-line tool that watches files and runs commands when they change. It is aimed at software-development feedback loops: rebuild, retest, rerun a server, invoke a linter, or emit structured file-change events without binding the workflow to one programming language or build system.

Projektgeschichte

The public GitHub repository dates to September 18, 2016, and the GitHub release feed records an early 1.5.0 release on November 23, 2016. The project has since grown from a standalone file-watcher command into what its citation metadata calls both a tool and a crate ecosystem, with the CLI, reusable library crates, event types, signal support, process supervision, ignore-file handling, project-origin helpers, and related utilities.

The current README emphasizes cross-platform behavior on OS X/macOS, Linux, Windows, and more, along with practical details that matter in real projects: recursive watching, coalescing editor save bursts, loading `.gitignore` and `.ignore`, process-group handling, exposing changed paths through environment variables or JSON on stdin, and avoiding any required language runtime. The 2026 citation metadata identifies version 2.5.1, released March 30, 2026, and credits Matt Green and Felix Saparelli.

Adoptionsgeschichte

watchexec's adoption is visible in both packaging breadth and downstream specialization. The upstream package list distinguishes first-party binary packages, distro packages, Homebrew and MacPorts, Windows packaging through Scoop and Chocolatey, and installation through Cargo or cargo-binstall. The README also lists downstreams such as cargo-watch, cargo-lambda, devenv.sh, dotter, ghciwatch, and Tectonic, showing that watchexec is used both as an executable and as infrastructure for other developer tools.

The repository page reports roughly seven thousand stars and more than one hundred releases, which is substantial for a general-purpose CLI watcher. More importantly, the project's anti-feature is part of its adoption story: it is intentionally not tied to Git, not tied to a language ecosystem, and not a wrapper requiring cryptic `xargs` pipelines.

Wie es verwendet wird

Common invocations are direct and task-shaped: watch JavaScript, CSS, and HTML files and run `npm run build`; restart `python server.py` when Python files change; run `make test` while ignoring `target`; send a signal instead of restarting; or emit JSON events to stdout for another program to consume. The CLI README documents extension filters, watch roots, ignore patterns, desktop notifications, timings, shell selection, process groups, and generated completions/manual pages.

In package-maintainer and developer workflows, watchexec is the lightweight alternative to writing a bespoke file watcher into each project. It can sit beside `make`, `just`, `systemfd`, cargo tools, static site generators, test runners, and local servers, providing the missing event loop while letting the existing command remain the source of truth.

Warum Paket-Nerds sich dafür interessieren

watchexec matters to package nerds because it packages the hard part of cross-platform file watching into a small, reusable Rust tool with first-party binaries, distro packages, and library crates. It also reflects a modern CLI pattern: one executable for everyday use, but a crate ecosystem underneath for downstream tools that need event filtering, process supervision, and shell-independent process control.

Zeitleiste

  • 2016-09-18: GitHub repository created.
  • 2016-11-23: Early 1.5.0 GitHub release published.
  • 2020s: Project grows into a multi-crate ecosystem around the CLI and reusable watcher components.
  • 2026-03-30: Citation metadata and releases identify CLI v2.5.1.
  • 2026: Upstream package list documents first-party binaries plus Linux, macOS, Windows, Cargo, and Binstall distribution paths.

Related projects

  • Related tools include entr, Watchman, cargo-watch, notify-rs, just, systemfd, checkexec, ghciwatch, and language-specific development servers. watchexec's role is the general-purpose command rerunner rather than the source-control-aware service role played by Watchman.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
watchexeccliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version2.5.1
Manager aktualisiert
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv2.5.1

https://github.com/watchexec/watchexec

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:watchexec
Version2.5.1
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/watchexec
Homepagehttps://watchexec.github.io/
Repositoryhttps://github.com/watchexec/watchexec
Upstream-Dokumentationhttps://watchexec.github.io/docs
LizenzApache-2.0
Quellarchivhttps://github.com/watchexec/watchexec/archive/refs/tags/v2.5.1.tar.gz
Build-Abhängigkeitenrust
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namewatchexec
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

watchexec

nix profile install nixpkgs#watchexec
  • normalized package name match
  • Abgeglichen nach: Watchexec
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wa/watchexec/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

watchexec 2.3.2-r1

Executes commands in response to file modifications

https://github.com/watchexec/watchexec

sudo apk add watchexec
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: watchexec
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Watchexec
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: watchexec from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

watchexec-bash-completion 2.3.2-r1

Bash completions for watchexec

https://github.com/watchexec/watchexec

sudo apk add watchexec-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: watchexec
  • normalized package name match
  • Abgeglichen nach: Watchexec
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: watchexec-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

watchexec-doc 2.3.2-r1

Executes commands in response to file modifications (documentation)

https://github.com/watchexec/watchexec

sudo apk add watchexec-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: watchexec
  • normalized package name match
  • Abgeglichen nach: Watchexec
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: watchexec-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

watchexec-fish-completion 2.3.2-r1

Fish completions for watchexec

https://github.com/watchexec/watchexec

sudo apk add watchexec-fish-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: watchexec
  • normalized package name match
  • Abgeglichen nach: Watchexec
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: watchexec-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

watchexec-zsh-completion 2.3.2-r1

Zsh completions for watchexec

https://github.com/watchexec/watchexec

sudo apk add watchexec-zsh-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: watchexec
  • normalized package name match
  • Abgeglichen nach: Watchexec
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: watchexec-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

watchexec 2.5.1-1

Executes commands in response to file modifications

https://github.com/watchexec/watchexec

sudo pacman -S watchexec
  • License: Apache-2.0
  • Architecture: x86_64
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Watchexec
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: watchexec from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

watchexec 2.5.1-1.1

Watches a path and runs a command whenever it detects modifications.

https://github.com/watchexec/watchexec

sudo zypper install watchexec
  • License: Apache-2.0
  • Category: Productivity/Other
  • Architecture: x86_64
  • Source Package: watchexec
  • 3 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Watchexec
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: watchexec from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

watchexec

sudo port install watchexec
  • normalized package name match
  • Abgeglichen nach: Watchexec
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/watchexec/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/watchexec

scoop install main/watchexec
  • normalized package name match
  • Abgeglichen nach: Watchexec
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/watchexec.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment