Quick start
Three commands
git clone <some-repo>cd <some-repo>envdoctor scanYou get one of three outcomes:
- Exit 0 — your machine is set up to run this repo.
- Exit 1 — there are findings, and every one has a recipe envdoctor knows. Run
envdoctor fixto walk through them. - Exit 2 — envdoctor saw something it doesn’t have a recipe for yet. Open an issue with
envdoctor scan --bundle ./bundle.jsonattached.
Interactive repair
envdoctor fixWalks each finding in repair order (runtime versions → port collisions → docker state → other). Single-key consent per recipe:
y— run itn— skips— same as noq— quit
Default depends on the recipe’s safety class (safe defaults y, everything else defaults n).
Share a debug bundle
envdoctor scan --bundle ./bundle.jsonWrites a redacted JSON file — usernames, home directories, and absolute paths are scrubbed by default. Attach to a GitHub issue. The maintainer reads it back with:
envdoctor explain ./bundle.json…and sees the same finding list you saw, plus the recipe hash so they can tell whether their envdoctor would have produced the same advice.