# 使用 Homebrew 安装 hoverfly

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

## 安装

```sh
sudo av install brew:hoverfly
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hoverfly
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:hoverfly
- **软件包管理器:** Homebrew
- **版本:** 1.12.10
- **来源摘要:** API simulations for development and testing
- **主页:** <https://hoverfly.io/>
- **仓库:** <https://github.com/SpectoLabs/hoverfly>
- **最后更新:** 2026-07-27T14:32:26+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- hoverfly (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.12.10
## 项目历史与用法

Hoverfly is an open source API simulation and service virtualization tool for development and testing. The project describes itself as a lightweight way to create realistic simulations of APIs that an application depends on.

### 项目历史

Hoverfly grew out of an effort to build the smallest service virtualization tool possible. Its documentation frames the project around the problem of testing applications that depend on external services, where network outages, latency, unavailable dependencies, and hard-to-manage test data make integration tests brittle.

The repository README and docs describe a Go-based proxy/server application controlled by `hoverctl`. Hoverfly can capture, export, import, edit, and replay simulations, and the project also exposes a REST API and language bindings, most prominently Java bindings.

### 采用历史

Hoverfly became useful in microservice testing because it sits at the architectural boundary rather than inside application code. The docs position it between intrusive mocks and hand-written stub services: a controllable dependency sandbox that can simulate slow, flaky, rate-limited, or unavailable APIs.

The project has been packaged as a Homebrew formula and has adjacent official repositories for Java bindings, a UI, and a GitHub Action. Those companion projects show adoption beyond a single binary: Hoverfly became a small tool family for service virtualization in local development and CI.

### 使用方式

The documented getting-started flow installs two binaries, `hoverfly` and `hoverctl`. `hoverctl` starts, stops, and configures a Hoverfly daemon, while `hoverfly` provides the proxy or webserver and API endpoints that do the simulation work.

Typical usage is to replace unreliable or unavailable API dependencies with reusable simulations, then exercise application code over HTTP as if it were talking to the external service.

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

Hoverfly matters to package nerds because it turns service virtualization into a portable CLI install rather than a heavy test environment. Its value is operational: developers can install one binary pair, put it in CI, and make network-dependent tests repeatable.

It also illustrates how Go CLIs entered the testing-tooling shelf: self-contained binaries, Homebrew packaging, release archives, and wrappers for language ecosystems that do not have to reimplement the proxy.

### 时间线

- Origin: Hoverfly documentation says the project grew from an effort to build the smallest service virtualization tool possible.
- v1.12.10: The hosted documentation identifies the Hoverfly and hoverctl two-binary model.
- v1.12.10: Homebrew builds the formula from the upstream SpectoLabs GitHub tag.

### Related projects

- hoverfly-java provides native Java bindings for using Hoverfly in JVM tests.
- hoverfly-ui is the Angular frontend application bundled with Hoverfly.
- hoverfly-github-action installs Hoverfly and hoverctl for GitHub Actions workflows.
- Traditional mocks and stub servers are the comparison points used in Hoverfly's own motivation documentation.

### 来源

- <https://formulae.brew.sh/formula/hoverfly>
- <https://github.com/SpectoLabs/hoverfly>
- <https://github.com/SpectoLabs/hoverfly-github-action>
- <https://github.com/SpectoLabs/hoverfly-java>
- <https://github.com/SpectoLabs/hoverfly-ui>
- <https://github.com/SpectoLabs/hoverfly/blob/master/docs/pages/introduction/gettingstarted.rst>
- <https://github.com/SpectoLabs/hoverfly/blob/master/docs/pages/introduction/motivation.rst>


## 安全说明

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



## Combined YAML source

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


## 来源

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