Envidence
What changed on your machine since it last worked.
Envidence is a command line tool for bugs that are not in your code. It saves snapshots of your dev machine, and when a command that used to pass starts failing, it shows which tool versions, PATH entries, env vars, global packages or config files are different now.
- Type
- Developer tool
- Platform
- Windows 10 and 11, with fewer collectors on macOS and Linux
- Install
- npm install -g envidence
- Data
- Stays on your machine, no network calls
- Version
- 1.1
- Status
- CLI on npm · Windows first, also macOS and Linux
- Stack
- TypeScript, Node.js, SQLite, React, Vite, Vitest
What it does
Commands that feel like git
evd save, evd status, evd diff, evd log and evd tag good work the way you expect them to.
Run a command and see what changed
evd run -- npm test snapshots the machine before and after, and splits what changed while it ran from what was already different.
Leads, strongest first
evd why ranks the changes that most likely explain the failure, each with before and after values and something to try.
Compare two machines
evd export and evd compare show what one machine has that the other does not, with env values hashed.
Put it back
evd restore plans the way back. It only applies changes in your own user account, saves a snapshot first, and evd undo reverses it.
Reports you can share
One offline HTML file per failure, with secrets, paths and machine names removed, to attach to an issue.
How I built it
Git tells you what changed in your code. It says nothing about the global package that updated overnight or the PATH entry an installer moved. I built Envidence to keep track of that part.
The first release had a bug that made it look noisy: it compared a full snapshot with a quick one and counted everything the quick one skipped as removed, and it mixed up differences between terminals with changes to the machine. Fixing that shaped 1.1. Every comparison now only covers what both snapshots read, terminal differences get their own section, and evd status and the optional shell hook make it easy to have a recent snapshot to compare against.
It is written in TypeScript on Node.js 24, with snapshots stored as compressed blobs indexed in SQLite through node:sqlite. The dashboard is a React app served only on 127.0.0.1 behind a one-time key, and it is read only.