# hunk mit Homebrew installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für hunk in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:hunk
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install hunk
```

  Evidenz: local Homebrew formula metadata

## Paketfakten

- **Paketschlüssel:** brew:hunk
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/hunk>
- **Version:** 0.17.6
- **Quellzusammenfassung:** Review-first terminal diff viewer for agent-authored changesets
- **Homepage:** <https://hunk.dev/>
- **Repository:** <https://github.com/modem-dev/hunk>
- **Upstream-Dokumentation:** <https://github.com/modem-dev/hunk#readme>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/modem-dev/hunk/archive/refs/tags/v0.17.6.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-25T03:21:50Z
- **Generiert:** 2026-07-25T07:20:51+00:00

## Executables

- hunk (cli)
- hunk (Alias)

## Build-Abhängigkeiten

- bun
- node

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-07-25
- Manager-Version: 0.17.6
- Manager aktualisiert: 2026-07-25
- lokale Daten: OK
- Upstream-Repository: https://github.com/modem-dev/hunk
- neueste erkannte Version: v0.17.6 (aktuell)
## Projektgeschichte und Nutzung

hunk is a review-first terminal diff viewer for agent-authored changesets. It sits in the developer-tools package niche around Git diffs, terminal UIs, code review, and AI-agent review workflows.

### Projektgeschichte

The official GitHub repository was created on 2026-03-17, and its README describes Hunk as a review-first terminal diff viewer built on OpenTUI and Pierre diffs.

The README documents multi-file review navigation, inline AI and agent annotations, split and stacked layouts, watch mode, keyboard and mouse support, pager support, Git difftool support, Jujutsu and Sapling integration, and an OpenTUI component export.

### Adoptionsgeschichte

Hunk's official homepage positions it as a diff viewer for humans and agents, with install paths through npm, Homebrew, and Nix.

The changelog shows rapid early adoption of package-manager concerns in spring 2026: Homebrew tap automation, prebuilt Windows support, npm packaging fixes, Nix outputs, release benchmarks, and performance work for large reviews.

### Wie es verwendet wird

The README documents hunk diff for current repository changes, hunk show for commits, hunk patch for patch input, hunk pager for Git pager integration, and hunk session commands for live agent review workflows.

Preferences can be persisted in ~/.config/hunk/config.toml or .hunk/config.toml, including theme, layout mode, VCS override, watch behavior, line numbers, wrapping, menu bar, agent notes, and transparent background.

### Warum Paket-Nerds sich dafür interessieren

hunk is package-nerd significant because it packages a modern terminal review UI across npm, Homebrew, and Nix while also publishing prebuilt artifacts and an embeddable OpenTUI component.

Its focus on agent-authored changesets makes it part of the 2020s shift from plain diff pagers toward review tools that can display machine-written context beside code.

### Zeitleiste

- 2026-03-17: The official GitHub repository was created.
- 2026-03-20: The changelog lists the 0.1.0 release.
- 2026-05-12: Version 0.12.0 added Homebrew tap release automation, Windows support, Nix outputs, and npm packaging improvements.
- 2026-06-19: GitHub releases list v0.16.0.

### Related projects

- The README compares Hunk with lumen, difftastic, delta, diff-so-fancy, and GNU diff.
- The project is built on OpenTUI and Pierre diffs and integrates with Git, Jujutsu, and Sapling.

### Quellen

- <https://api.github.com/repos/modem-dev/hunk>
- <https://api.github.com/repos/modem-dev/hunk/releases?per_page=10>
- <https://github.com/modem-dev/hunk>
- <https://hunk.dev/>
- <https://raw.githubusercontent.com/modem-dev/hunk/main/CHANGELOG.md>
- <https://raw.githubusercontent.com/modem-dev/hunk/main/README.md>


## Sicherheitshinweise

Für hunk wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/hunk/config.toml, .hunk/config.toml
## Details aus der Quelldatenbank

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


## Verwandte Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/de/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [bun](https://www.automicvault.com/de/pkg/brew/bun/) - Build dependency declared by Homebrew.
- [node](https://www.automicvault.com/de/pkg/brew/node/) - Build dependency declared by Homebrew.
- [diffr](https://www.automicvault.com/de/pkg/brew/diffr/) - Shares av.db curated category or tags: cli, code-review, developer-tools, diff, git.
- [gerrit-tools](https://www.automicvault.com/de/pkg/brew/gerrit-tools/) - Shares av.db curated category or tags: cli, code-review, developer-tools, git.
- [diff-so-fancy](https://www.automicvault.com/de/pkg/brew/diff-so-fancy/) - Shares av.db curated category or tags: cli, developer-tools, diff, git, terminal.
- [diffnav](https://www.automicvault.com/de/pkg/brew/diffnav/) - Shares av.db curated category or tags: cli, developer-tools, diff, git, tui.
- [difi](https://www.automicvault.com/de/pkg/brew/difi/) - Shares av.db curated category or tags: cli, code-review, developer-tools, diff, git.
- [git-split-diffs](https://www.automicvault.com/de/pkg/brew/git-split-diffs/) - Shares av.db curated category or tags: cli, developer-tools, diff, git, terminal.
- [gitlogue](https://www.automicvault.com/de/pkg/brew/gitlogue/) - Shares av.db curated category or tags: cli, developer-tools, git, terminal, tui.
- [gitu](https://www.automicvault.com/de/pkg/brew/gitu/) - Shares av.db curated category or tags: cli, developer-tools, git, terminal, tui.

## Combined YAML source

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


## Quellen

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
