# Install dura with Homebrew, MacPorts, Nix

Backs up your work automatically via Git commits. Version 0.2.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:dura
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dura
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dura
```

  Evidence: MacPorts ports tree: devel/dura/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dura
```

  Evidence: nixpkgs package indexes: pkgs/by-name/du/dura/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:dura
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dura>
- **Version:** 0.2.0
- **Source summary:** Backs up your work automatically via Git commits
- **Homepage:** <https://github.com/tkellogg/dura>
- **Repository:** <https://github.com/tkellogg/dura>
- **Upstream docs:** <https://github.com/tkellogg/dura#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/tkellogg/dura/archive/refs/tags/v0.2.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- dura (cli)
- dura (alias)

## Dependencies

- openssl@3

## Build dependencies

- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.2.0
- Local data: ok
- Upstream repository: https://github.com/tkellogg/dura
- Upstream latest detected: v0.2.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

Dura is a Rust developer tool that watches Git repositories and makes background snapshot commits without moving HEAD, changing the current branch, or touching the index. It belongs to the small family of tools that treat Git as a local safety net rather than only as a collaboration system.

### Project history

The GitHub repository was created at the end of 2021, and the README says people had been using it since January 1, 2022. The project reached crates.io in January 2022 as `dura`, described there as backing up work automatically via Git commits.

Dura's design centers on per-commit `dura/` branches. It snapshots dirty working trees in the background so a developer can recover from editor mistakes, crashes, or bad resets by checking Git history rather than relying on per-file undo.

### Adoption history

The official README documents installation through Cargo, Homebrew on macOS, Arch via `dura-git`, and Nix/NixOS. That spread is typical of a developer utility that is useful to package-manager-heavy users even when it is not a language runtime or framework dependency.

By June 2026, the GitHub API reported several thousand stars, while crates.io remained a smaller distribution channel. That pattern fits a tool discovered and evaluated mostly as a workflow idea, with package managers used once a developer decides to keep it running.

### How it is used

Typical use is `dura serve` in the background, then `dura watch` inside each Git repository to snapshot. Recovery is performed through normal Git inspection and checkout/reset operations against the generated `dura/<commit>` branches.

### Why package nerds care

Dura is interesting to package nerds because it packages a personal disaster-recovery habit as a daemonized CLI: automatic local commits without changing the developer's visible branch state. It also sits near tools like `git stash`, editor local history, and filesystem backup, but uses Git's object model as the storage layer.

### Timeline

- 2021-12-31: GitHub repository created.
- 2022-01-01: README says many users had been using it from this date onward.
- 2022-01-23: `dura` crate created on crates.io.
- 2022-06-18: 0.2.0-rc1 release published on GitHub.

### Related projects

- Dura's own recovery instructions compare the workflow to `git stash` and normal Git commands, and the project uses libgit2 for writing commits. In practice it overlaps with editor local-history features and continuous backup tools, but remains Git-native.

### Sources

- <https://github.com/tkellogg/dura>
- <https://api.github.com/repos/tkellogg/dura>
- <https://crates.io/crates/dura>
- <https://api.github.com/repos/tkellogg/dura/releases>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dura
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - dura: normalized package name match | nixpkgs package indexes: pkgs/by-name/du/dura/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - dura: normalized package name match | MacPorts ports tree: devel/dura/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [braid](https://www.automicvault.com/pkg/brew/braid/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [codeberg-cli](https://www.automicvault.com/pkg/brew/codeberg-cli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [gcli](https://www.automicvault.com/pkg/brew/gcli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-branchless](https://www.automicvault.com/pkg/brew/git-branchless/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-cinnabar](https://www.automicvault.com/pkg/brew/git-cinnabar/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-cola](https://www.automicvault.com/pkg/brew/git-cola/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-gui](https://www.automicvault.com/pkg/brew/git-gui/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-lfs](https://www.automicvault.com/pkg/brew/git-lfs/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-series](https://www.automicvault.com/pkg/brew/git-series/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, git.
- [git-workspace](https://www.automicvault.com/pkg/brew/git-workspace/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, git.
- [gitnr](https://www.automicvault.com/pkg/brew/gitnr/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

View the package source record on GitHub. [combined/dura.yml](https://github.com/automic-vault/db/blob/main/combined/dura.yml)


## Sources

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