Installer that backs up and restores itself

The installer backs up before it touches anything and restores itself if interrupted, alongside commit-pinned downloads with printed checksums.


Daniel Miessler's AI system ships with an installer designed around a specific fear: the update that goes wrong halfway through. In his description of the project, he calls it

an installer that backs up before it touches anything and restores itself if interrupted

alongside downloads that are pinned to specific commits and come with printed checksums — a string of characters that lets you verify a downloaded file is exactly what it claims to be, untampered and uncorrupted.

The idea, in plain terms: before the installer changes a single file, it takes a snapshot of what already exists. If the install is interrupted — power cut, crashed process, a closed laptop lid — it can put everything back the way it was rather than leaving you with a half-written, broken system. The checksums work earlier in the chain: they let you confirm the thing you downloaded is the thing the author published, before the installer ever runs.

If you've ever updated an app or an operating system and lost settings, files, or a working configuration when something went sideways, you understand the problem this solves. That experience — the update that turns a working setup into an afternoon of troubleshooting — is what this design is built against.

That said, it's worth being plain about who this is actually for. Commit pinning and checksum verification are developer vocabulary because this is a developer's tool. Miessler's project is an AI system you install and maintain on your own machine, and running it means being comfortable with installers, downloads, and a command line. If you're not that person, the useful takeaway isn't this installer — it's the design principle it embodies, which you can and should expect from any software that modifies your system: make a backup first, verify what you downloaded, and be able to undo. Consumer operating systems increasingly do versions of this silently. The gap this fills is for people assembling their own AI tooling, where no one is doing it for them.

Some honest limits. The mechanism described protects against an interrupted install — one that never finishes. Whether it can roll back an update that completed successfully but turned out to be broken is a different question, and Miessler's description doesn't say. Checksums confirm a file's integrity, but they don't tell you whether the software itself is good; they verify you got the real thing, not that the real thing works. And none of this is free in effort — this is self-managed software, which means the safety net exists but you're the one operating it.

Is it usable today? It is described as shipping, not proposed — this is a working feature of a system people can install now, not a roadmap item. But "shipping" here means shipping as part of Miessler's own AI setup, not as a standalone tool you can point at an arbitrary program. If you want an installer that protects itself this way, you get it by adopting his system, and that system is built for people who already live in the terminal.

The broader lesson travels beyond that audience, though. As AI assistants become infrastructure — the thing your notes, schedule, and work depend on — the boring question of how updates fail becomes a real one. An installer that can undo itself is one answer, and it's the kind of unglamorous engineering that tends to matter more than the features on the announcement post.

productsaccuracysecuritydeveloper
Source: github.com