# Installer dura avec Homebrew, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de dura pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install dura
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dura
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:dura
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.2.0
- **Résumé source:** Backs up your work automatically via Git commits
- **Page d'accueil:** <https://github.com/tkellogg/dura>
- **Dépôt:** <https://github.com/tkellogg/dura>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- dura (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.2.0
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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>


## Notes de sécurité

formula declares a Homebrew service.

- **Risque Geiger:** orange / moyen
- formula declares a Homebrew service

## Autres enregistrements de gestionnaires de paquets

- 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


## Combined YAML source

View the package source record on GitHub. [combined/dura.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dura.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
