# 使用 Homebrew, Nix 安装 hivemind

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

## 安装

```sh
sudo av install brew:hivemind
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hivemind
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#hivemind
```

  证据: nixpkgs package indexes: pkgs/by-name/hi/hivemind/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:hivemind
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/hivemind>
- **版本:** 1.1.0
- **来源摘要:** Process manager for Procfile-based applications
- **主页:** <https://github.com/DarthSim/hivemind>
- **仓库:** <https://github.com/DarthSim/hivemind>
- **上游文档:** <https://github.com/DarthSim/hivemind#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/DarthSim/hivemind/archive/refs/tags/v1.1.0.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- hivemind (cli)
- hivemind (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.1.0
- 本地数据: OK
- 上游仓库: https://github.com/DarthSim/hivemind
- 检测到的最新版本: v1.1.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Hivemind is a Go process manager for Procfile-based development applications. It reads a Procfile, starts multiple named processes, and uses pseudo-terminals so logs behave like terminal output rather than buffered file output.

In package-manager culture it is a small, sharp alternative to heavier Procfile managers: install the binary, run it in a project directory, and get color-preserving, low-lag process output for local development stacks.

### 项目历史

The Hivemind repository begins on 2015-04-08 with an initial commit. Early commits added process supervision, command-line arguments, working-directory support, improved errors, and README material. The v1.0 tag appeared on 2016-06-03, followed by maintenance releases through v1.1.0 in 2021.

The README explains the motivation in relation to Procfile tools such as David Dollar's Foreman. Procfile-based tools simplify multi-process application development, but many process managers make child processes think they are writing to a file, which can cause lag, lost or broken colored output, and extra log decoration. Hivemind was created to fix those problems by using ptys to capture output.

Hivemind later became the smaller sibling in a pair with Overmind. The Hivemind README points users who need tmux integration, individual process restarts, process killing, and advanced configuration to Overmind, while keeping Hivemind focused on the simpler Procfile runner use case.

### 采用历史

Hivemind's adoption is strongest among web application developers who use Procfile conventions for local stacks: a web server, worker, frontend builder, queue processor, or other long-running process groups. The README names Heroku and Deis as popular platforms that helped establish the Procfile format.

Homebrew and Nix packaging made Hivemind easy to install in developer environments, especially on macOS. Its official README also documents pre-built release binaries and source installation with Go.

The Evil Martians article linked from the README positioned Hivemind and Overmind as tools the team used over Foreman-style managers for Procfile-based development, giving the project an authoritative adoption story in Rails and full-stack development circles.

### 使用方式

A Hivemind user creates a Procfile with lines such as `web: bin/rails server`, `worker: bundle exec sidekiq`, and `assets: gulp watch`, then runs `hivemind` in the same directory. A custom file such as `Procfile.dev` can be passed as an argument.

The README documents `.env` support for variable assignments and states that every Hivemind option can be set through a corresponding environment variable. It supports Linux, FreeBSD, and macOS.

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

Hivemind is package-nerd-significant because it is a minimal process manager with one job: run Procfile processes correctly in a terminal. It deliberately avoids Overmind's tmux-centered feature set, which makes it attractive when a package user wants Foreman-like behavior without a Ruby dependency or tmux session.

It also shows how small developer tools often enter package managers: the problem is not algorithmic novelty but operational fit. Hivemind preserves colored output, avoids log clipping and delays, reads familiar Procfiles and `.env` files, and ships as a simple Go-built binary.

### 时间线

- 2015-04-08: Repository history begins with the initial commit.
- 2015-04: Early commits add process management, CLI flags, working-directory support, and README material.
- 2016-06-03: v1.0 is tagged.
- 2017-08-07: Evil Martians publishes an article introducing Overmind and Hivemind.
- 2017-2021: Maintenance releases continue through v1.1.0.

### Related projects

- Foreman is the Procfile manager named by the Hivemind README as the tool that started the pattern.
- Overmind is Hivemind's larger sibling, adding tmux support and more advanced process control.
- Heroku and Deis are named by the README as platforms that popularized Procfile conventions.

### 来源

- Evil Martians article linked by the README for author/team context and Hivemind/Overmind introduction.
- Official Git repository tags and commits for timeline dates.
- Official Hivemind README for motivation, supported platforms, install, Procfile usage, `.env`, and relation to Foreman and Overmind.
- Official Overmind README for the sibling-project relationship and overlapping Procfile context.


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: Procfile, Procfile.dev, .env
## 源数据库详情

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

## 其他软件包管理器记录

- Nix - hivemind: normalized package name match | nixpkgs package indexes: pkgs/by-name/hi/hivemind/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [forego](https://www.automicvault.com/zh-hans/pkg/brew/forego/) - Shares av.db curated category or tags: cli, developer-tools, process-management, process-manager, procfile.
- [foreman](https://www.automicvault.com/zh-hans/pkg/brew/foreman/) - Shares av.db curated category or tags: cli, developer-tools, process-management, process-manager, procfile.
- [goresym](https://www.automicvault.com/zh-hans/pkg/brew/goresym/) - Shares av.db curated category or tags: cli, developer-tools, process-management, process-manager, procfile.
- [honcho](https://www.automicvault.com/zh-hans/pkg/brew/honcho/) - Shares av.db curated category or tags: cli, developer-tools, process-management, process-manager, procfile.
- [overmind](https://www.automicvault.com/zh-hans/pkg/brew/overmind/) - Shares av.db curated category or tags: cli, developer-tools, development-workflow, process-manager, procfile.
- [hk](https://www.automicvault.com/zh-hans/pkg/brew/hk/) - Shares av.db curated category or tags: cli, developer-tools, development-workflow.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
