Tret
A CLI tool that installs other CLI tools.
Tret runs a tool's installer inside a bounded capture window, records what it creates, overwrites, or deletes there as observations. Cleanup needs explicit approval for each object and verifies its identity and fingerprint again.
$ curl -fsSL https://tret.framwrk.com/scripts/install.sh | bash
Installs the latest release to ~/.tret/bin and links it as ~/.local/bin/tret, after
verifying it against the published checksums. Update in place with tret update, or a tracked tool
with tret update <tool>.
What it does
Noninteractive installs and tracked updates require --yes. Heuristic or disabled
capture also requires --allow-weaker-capture for each run; execution consent alone
does not accept weaker observation. Most commands accept
--json for one machine-readable document, with stable exit codes for scripts
and CI.
Capture is bounded and labeled, not a full filesystem diff: macOS uses a scoped heuristic snapshot with no
process attribution, and a Linux window is complete only when the traced process tree was fully
observed. tret inspect shows what a record actually covers, and the
capture limits
are documented in the README.
Platform support
macOS and Linux, on both arm64 and x64. Windows is not supported.
Prefer to read before you run? The install and uninstall scripts are plain shell. Read install.sh and uninstall.sh in the repo.