# Install autocannon with Homebrew

Fast HTTP/1.1 benchmarking tool written in Node.js. Version 8.0.0 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install autocannon
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:autocannon
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/autocannon>
- **Version:** 8.0.0
- **Source summary:** Fast HTTP/1.1 benchmarking tool written in Node.js
- **Homepage:** <https://github.com/mcollina/autocannon>
- **Repository:** <https://github.com/mcollina/autocannon>
- **Upstream docs:** <https://github.com/mcollina/autocannon#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/autocannon/-/autocannon-8.0.0.tgz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- autocannon (cli)
- autocannon (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 8.0.0
- Local data: ok
- Upstream repository: https://github.com/mcollina/autocannon
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [ali](https://www.automicvault.com/pkg/brew/ali/) - Shares av.db curated category or tags: benchmark, cli, developer-tools, http.
- [apib](https://www.automicvault.com/pkg/brew/apib/) - Shares av.db curated category or tags: benchmark, cli, developer-tools, http.
- [autobench](https://www.automicvault.com/pkg/brew/autobench/) - Shares av.db curated category or tags: benchmark, cli, developer-tools, testing.
- [goku](https://www.automicvault.com/pkg/brew/goku/) - Shares av.db curated category or tags: cli, developer-tools, http, testing.
- [gor](https://www.automicvault.com/pkg/brew/gor/) - Shares av.db curated category or tags: cli, developer-tools, http, testing.
- [hey](https://www.automicvault.com/pkg/brew/hey/) - Shares av.db curated category or tags: benchmark, cli, developer-tools, http, testing.
- [mockserver](https://www.automicvault.com/pkg/brew/mockserver/) - Shares av.db curated category or tags: cli, developer-tools, http, testing.
- [moco](https://www.automicvault.com/pkg/brew/moco/) - Shares av.db curated category or tags: cli, developer-tools, http, testing.
- [autocannon](https://www.automicvault.com/pkg/npm/autocannon/) - Same normalized package name appears in another local ecosystem. Shared terms: autocannon, benchmarking, fast, http, node.
- [autocannon](https://www.automicvault.com/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)


## Sources

- 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
