# 使用 Homebrew 安装 apib

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install apib
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:apib
- **软件包管理器:** Homebrew
- **版本:** 1.2.1
- **来源摘要:** HTTP performance-testing tool
- **主页:** <https://github.com/apigee/apib>
- **仓库:** <https://github.com/apigee/apib>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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


## Combined YAML source

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


## 来源

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