# 使用 Homebrew 安装 gnhf

查看 gnhf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:gnhf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gnhf
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:gnhf
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gnhf>
- **版本:** 0.1.41
- **来源摘要:** Autonomous agent orchestrator for long-running coding tasks
- **主页:** <https://github.com/kunchenguid/gnhf>
- **仓库:** <https://github.com/kunchenguid/gnhf>
- **上游文档:** <https://github.com/kunchenguid/gnhf#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/gnhf/-/gnhf-0.1.41.tgz>
- **最后更新:** 2026-06-15T00:06:42Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- gnhf (cli)
- gnhf (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 0.1.41
- 管理器更新时间: 2026-06-15
- 本地数据: OK
- 上游仓库: https://github.com/kunchenguid/gnhf
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

gnhf, short for Good Night, Have Fun, is a command-line orchestrator for unattended coding-agent runs. Its own README describes a loop that starts from a clean Git repository, invokes an agent, records successful iterations as commits, and keeps notes and run metadata for later review.

### 项目历史

The public changelog shows the project starting with version 0.1.1 on March 31, 2026, followed by quick additions for iteration caps, OpenCode and Rovo Dev support, per-agent overrides, worktrees, ACP agents, push mode, and post-run summaries. That release cadence reflects the fast-moving 2026 ecosystem around local coding agents rather than a long-lived Unix utility lineage.

### 采用历史

Adoption evidence is narrow but concrete: the repository publishes an npm-oriented install path, Homebrew packages it as a formula, and the README lists supported agent backends including Claude Code, Codex, Rovo Dev, OpenCode, GitHub Copilot CLI, Pi, and ACP targets. Its package-manager significance is therefore strongest among developers already experimenting with long-running code-agent workflows.

### 使用方式

Practitioners run gnhf inside a Git repository with a natural-language objective, optionally setting iteration or token caps, worktree isolation, branch mode, and push behavior. It is used as an outer loop around other agent CLIs, turning repeated agent attempts into reviewable commits and notes.

### 为什么软件包爱好者会关心

For package nerds, gnhf is interesting as a small example of the coding-agent wrapper pattern becoming a normal installable CLI. It packages policy around Git cleanliness, commit granularity, failure rollback, and agent selection rather than providing a model or editor of its own.

### 时间线

- 2026-03-31: Changelog records the initial public 0.1.1 release.
- 2026-04-01: Early releases add iteration caps and OpenCode/Rovo Dev integrations.
- 2026-04-10: Worktree support lands for multiple agent runs against one repository.
- 2026-05-03: Post-run exit summaries are added.

### Related projects

- gnhf wraps coding-agent CLIs such as Claude Code, Codex, OpenCode, Rovo Dev, GitHub Copilot CLI, Pi, and ACP-compatible agents. It also depends on Git conventions such as branches, worktrees, commits, and clean working trees.

### 来源

- <https://formulae.brew.sh/formula/gnhf>
- <https://github.com/kunchenguid/gnhf>
- <https://github.com/kunchenguid/gnhf/blob/main/CHANGELOG.md>


## 安全说明

没有找到 gnhf 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: ~/.gnhf/config.yml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gnhf
- **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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://www.automicvault.com/zh-hans/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://www.automicvault.com/zh-hans/pkg/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [ralph-orchestrator](https://www.automicvault.com/zh-hans/pkg/brew/ralph-orchestrator/) - Shares av.db curated category or tags: ai, ai-agents, automation, cli, developer-workflow.
- [gastown](https://www.automicvault.com/zh-hans/pkg/brew/gastown/) - Shares av.db curated category or tags: ai, ai-agents, cli, git, orchestration.
- [kagent](https://www.automicvault.com/zh-hans/pkg/brew/kagent/) - Shares av.db curated category or tags: ai, ai-agents, automation, cli, orchestration.
- [nanobot](https://www.automicvault.com/zh-hans/pkg/brew/nanobot/) - Shares av.db curated category or tags: ai, ai-agents, automation, cli, orchestration.
- [aoe](https://www.automicvault.com/zh-hans/pkg/brew/aoe/) - Shares av.db curated category or tags: ai, ai-agents, cli, orchestration.
- [cc-connect](https://www.automicvault.com/zh-hans/pkg/brew/cc-connect/) - Shares av.db curated category or tags: ai, ai-agents, cli, orchestration.
- [claude-squad](https://www.automicvault.com/zh-hans/pkg/brew/claude-squad/) - Shares av.db curated category or tags: ai, ai-agents, cli, orchestration.
- [fabric-ai](https://www.automicvault.com/zh-hans/pkg/brew/fabric-ai/) - Shares av.db curated category or tags: ai, automation, cli, orchestration.
- [openskills](https://www.automicvault.com/zh-hans/pkg/brew/openskills/) - Both packages touch the same language runtime or ecosystem. Shared terms: agents, ai, ai-agents, cli, coding.
- [qwen-code](https://www.automicvault.com/zh-hans/pkg/brew/qwen-code/) - Both packages touch the same language runtime or ecosystem. Shared terms: agent, agents, ai, cli, coding.

## Combined YAML source

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


## 来源

- 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
