# dura を Homebrew, MacPorts, Nix でインストール

dura のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install dura
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dura
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:dura
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.2.0
- **ソース概要:** Backs up your work automatically via Git commits
- **ホームページ:** <https://github.com/tkellogg/dura>
- **リポジトリ:** <https://github.com/tkellogg/dura>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- dura (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.2.0
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- formula declares a Homebrew service

## 他のパッケージマネージャ記録

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


## ソース

- 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
