# 使用 Homebrew 安装 autocannon

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

## 安装

```sh
sudo av install brew:autocannon
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install autocannon
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:autocannon
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/autocannon>
- **版本:** 8.0.0
- **来源摘要:** Fast HTTP/1.1 benchmarking tool written in Node.js
- **主页:** <https://github.com/mcollina/autocannon>
- **仓库:** <https://github.com/mcollina/autocannon>
- **上游文档:** <https://github.com/mcollina/autocannon#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/autocannon/-/autocannon-8.0.0.tgz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- autocannon (cli)
- autocannon (别名)

## 依赖

- node

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 8.0.0
- 本地数据: OK
- 上游仓库: https://github.com/mcollina/autocannon
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

autocannon is a fast HTTP/1.1 benchmarking and load-testing tool for Node.js users, usable both as a CLI and as a JavaScript API.

### 项目历史

The npm package and GitHub repository both date to 2016-03-31. The README describes autocannon as an HTTP/1.1 benchmarking tool written in Node.js, inspired by wrk and wrk2, with support for HTTPS and HTTP pipelining.

The project reached a long-lived 7.x series and published v8.0.0 on 2024-10-14. The repository remained active into 2026, with thousands of GitHub stars and hundreds of forks.

### 采用历史

autocannon's adoption follows the Node.js server ecosystem: it is distributed through npm for global CLI installs or library use, and the Homebrew formula packages the CLI for users who prefer system package managers.

Its popularity comes from being easy to run against a local URL while still exposing enough controls for serious testing: connection counts, pipelining, duration, request bodies, headers, HAR input, worker threads, rate limits and JSON output.

### 使用方式

The basic CLI form is autocannon [opts] URL. Defaults are intentionally simple, such as 10 connections and a 10 second run, but the README documents many options for duration, request count, concurrency, pipelining, warmup, headers, bodies, TLS certificates and output formats.

Programmatic usage imports the autocannon package and passes an options object, which makes it useful for benchmark scripts and project-local performance checks in Node.js repositories.

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

autocannon is package-nerd useful because it is a small, installable benchmark executable that competes culturally with native tools such as wrk while staying in the Node toolchain. It is one of the standard quick checks for HTTP service throughput in JavaScript projects.

Because it needs no daemon, config file or credentials, the packaging surface is clean: install Node, expose the bin, and let users point it at a URL.

### 时间线

- 2016: Repository and npm package are created on 2016-03-31.
- 2021: v7.x releases continue the mature CLI/API line.
- 2024: v8.0.0 is published on 2024-10-14.

### Related projects

- The README explicitly names wrk and wrk2 as inspirations.
- autocannon is commonly compared with HTTP benchmarking tools such as ab, wrk and hey, though its official docs emphasize its Node.js implementation and API.

### 来源

- <https://api.github.com/repos/mcollina/autocannon>
- <https://api.github.com/repos/mcollina/autocannon/releases>
- <https://github.com/mcollina/autocannon#readme>
- <https://registry.npmjs.org/autocannon>


## 安全说明

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:** autocannon
- **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.
- [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.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Runtime 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.
- [apib](https://www.automicvault.com/zh-hans/pkg/brew/apib/) - Shares av.db curated category or tags: benchmark, 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, testing.
- [goku](https://www.automicvault.com/zh-hans/pkg/brew/goku/) - Shares av.db curated category or tags: cli, developer-tools, http, testing.
- [gor](https://www.automicvault.com/zh-hans/pkg/brew/gor/) - Shares av.db curated category or tags: cli, developer-tools, http, testing.
- [hey](https://www.automicvault.com/zh-hans/pkg/brew/hey/) - Shares av.db curated category or tags: benchmark, cli, developer-tools, http, testing.
- [mockserver](https://www.automicvault.com/zh-hans/pkg/brew/mockserver/) - Shares av.db curated category or tags: cli, developer-tools, http, testing.
- [moco](https://www.automicvault.com/zh-hans/pkg/brew/moco/) - Shares av.db curated category or tags: cli, developer-tools, http, testing.
- [autocannon](https://www.automicvault.com/zh-hans/pkg/npm/autocannon/) - Same normalized package name appears in another local ecosystem. Shared terms: autocannon, benchmarking, cli, developer, developer-tools.
- [autocannon](https://www.automicvault.com/zh-hans/pkg/npm/autocannon/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/autocannon.yml](https://github.com/automic-vault/db/blob/main/combined/autocannon.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
