# 使用 Homebrew 安装 apib

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

## 安装

```sh
sudo av install brew:apib
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install apib
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:apib
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/apib>
- **版本:** 1.2.1
- **来源摘要:** HTTP performance-testing tool
- **主页:** <https://github.com/apigee/apib>
- **仓库:** <https://github.com/apigee/apib>
- **上游文档:** <https://github.com/apigee/apib#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/apigee/apib/archive/refs/tags/APIB_1_2_1.tar.gz>
- **最后更新:** 2026-04-30T20:50:47+09:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- apib (cli)
- apibmon (cli)
- apib (别名)
- apibmon (别名)

## 依赖

- libev
- openssl@3

## 构建依赖

- cmake

## 安装行为

- 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.2.1
- 管理器更新时间: 2026-04-30
- 本地数据: OK
- 上游仓库: https://github.com/apigee/apib
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

apib, short for API Bench, is an Apigee-origin HTTP API benchmarking tool. It was designed as a modernized ApacheBench-like utility for testing HTTP/1.1 APIs with concurrency, keep-alive behavior, CSV output, OAuth 1.0 signing, and optional remote resource monitoring.

### 项目历史

The public repository was created in 2013 under Apigee. The README describes the tool as stable, available on Linux, Mac OS X, and FreeBSD, and positioned as a simple performance-testing utility for HTTP API servers.

The repository is now archived on GitHub, so its package-manager value is mostly historical and operational rather than fast-moving. GitHub releases list apib 1.2 and 1.2.1 release candidates in 2020, while the README identifies 1.2.1 as the current version.

### 采用历史

The README explicitly documents Homebrew installation for macOS and source builds for other platforms. The build documentation explains both Bazel and CMake paths, noting that the CMake build was used for Homebrew and potentially other repositories.

### 使用方式

A simple run looks like apib -c 100 -d 60 URL, which sends load for a time-bounded interval using a configured number of concurrent connections. The running guide emphasizes time-scheduled tests, warmup periods, HTTP verbs, request bodies, headers, HTTP Basic authentication, OAuth 1.0 signatures, and CSV output for automated test scripts.

apibmon is the companion remote-monitoring process. The official docs show apib using -M host:port to collect CPU and memory statistics from a target host running apibmon, with /proc-based resource collection on Linux-like systems.

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

apib sits in the lineage of tiny HTTP load-test binaries that are easy to install, script, and throw into CI or release checks. Package nerds care because it is both familiar, thanks to its ApacheBench-like shape, and different enough to preserve: HTTP/1.1 focus, OAuth signing, CSV automation, and remote monitoring made it useful for API-centric benchmarking.

### 时间线

- 2013: Public apigee/apib repository created.
- 2020: GitHub releases published apib 1.2 and 1.2.1 release candidate.
- 2024: Repository metadata shows the project archived on GitHub.

### Related projects

- apib is directly compared with ApacheBench in its own documentation. It is also adjacent to HTTP load generators, API performance smoke tests, libev-based clients, and Apigee API operational tooling.

### 来源

- <https://api.github.com/repos/apigee/apib>
- <https://github.com/apigee/apib#readme>
- <https://github.com/apigee/apib/blob/master/doc/BUILDING.md>
- <https://github.com/apigee/apib/blob/master/doc/REMOTE-MONITORING.md>
- <https://github.com/apigee/apib/blob/master/doc/RUNNING.md>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [openssl@3](https://www.automicvault.com/zh-hans/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [ali](https://www.automicvault.com/zh-hans/pkg/brew/ali/) - Shares av.db curated category or tags: benchmark, cli, developer-tools, http.
- [autocannon](https://www.automicvault.com/zh-hans/pkg/brew/autocannon/) - Shares av.db curated category or tags: benchmark, cli, developer-tools, http.
- [hey](https://www.automicvault.com/zh-hans/pkg/brew/hey/) - Shares av.db curated category or tags: benchmark, cli, developer-tools, http.
- [ain](https://www.automicvault.com/zh-hans/pkg/brew/ain/) - Shares av.db curated category or tags: cli, developer-tools, http.
- [atac](https://www.automicvault.com/zh-hans/pkg/brew/atac/) - Shares av.db curated category or tags: cli, developer-tools, http.
- [autobench](https://www.automicvault.com/zh-hans/pkg/brew/autobench/) - Shares av.db curated category or tags: benchmark, cli, developer-tools.
- [benchi](https://www.automicvault.com/zh-hans/pkg/brew/benchi/) - Shares av.db curated category or tags: benchmark, cli, developer-tools.
- [cassowary](https://www.automicvault.com/zh-hans/pkg/brew/cassowary/) - Shares av.db curated category or tags: cli, developer-tools, http.
- [memtier_benchmark](https://www.automicvault.com/zh-hans/pkg/brew/memtier-benchmark/) - Local package facts share a topical domain. Shared terms: benchmark, cli, developer, developer-tools, openssl.
- [httperf](https://www.automicvault.com/zh-hans/pkg/brew/httperf/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, http, openssl.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
