# 使用 Homebrew, MacPorts, Nix, pacman, zypper, scoop 安装 vegeta

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

## 安装

```sh
sudo av install brew:vegeta
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vegeta
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vegeta
```

  证据: MacPorts ports tree: net/vegeta/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#vegeta
```

  证据: nixpkgs package indexes: pkgs/by-name/ve/vegeta/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S vegeta
```

  证据: Arch Linux sync databases: vegeta from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install vegeta
```

  证据: openSUSE Tumbleweed package metadata: vegeta from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/vegeta
```

  证据: Scoop official bucket manifest trees: bucket/vegeta.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:vegeta
- **软件包管理器:** Homebrew
- **版本:** 12.13.0
- **来源摘要:** HTTP load testing tool and library
- **主页:** <https://github.com/tsenart/vegeta>
- **仓库:** <https://github.com/tsenart/vegeta>
- **最后更新:** 2026-07-26T00:30:01+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vegeta (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Vegeta is a Go-based HTTP load testing command-line tool and library by Tomas Senart. Its identity in the load-testing niche is the constant-rate attack model: instead of simply driving as much traffic as possible, users specify a request rate and duration, then pipe results into text, JSON, histogram, or plot/report commands.

### 项目历史

The public project dates to 2013, with secondary software cataloging and the upstream repository tying the first release era to August 2013. The repository's README frames the tool as something built from the need to drill HTTP services at a constant request rate, and the project has remained a compact Go utility rather than growing into a hosted load-testing service.

Over time Vegeta settled into the Unix-pipeline shape that package users recognize: `vegeta attack` generates binary result streams, `vegeta report` summarizes them, `vegeta plot` creates an HTML visualization, and the library package lets Go programs embed the attacker directly.

### 采用历史

Vegeta became popular with operators and backend developers who wanted a small, scriptable load generator that could be installed from language, OS, and package-manager channels. Tutorials from cloud providers and performance-testing blogs continue to teach it as a practical way to validate request-per-second targets and latency behavior for HTTP APIs.

Its adoption has been strongest in the space between heavyweight test suites and commercial load-testing platforms: teams use it for quick pre-production checks, regression comparisons, and reproducible command-line benchmarks.

### 使用方式

Typical use is a pipeline such as emitting target lines, running `vegeta attack` with a rate and duration, then piping the encoded results to `vegeta report` or saving them for later plotting. More advanced users provide target files with methods, headers, and bodies, or use the Go library to generate traffic from test harnesses.

Because Vegeta tries to sustain a specified rate, package users pay attention to concurrency and overload behavior: if the system under test slows down, the attacker may need more workers to keep the rate, which is useful for stress testing but can intensify an already overloaded target.

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

In package-manager terms, Vegeta is the sort of tool people install because it composes cleanly with shells, CI jobs, and simple HTTP fixtures. It is small, portable, and memorable enough that the binary name itself has become shorthand for a constant-RPS smoke test.

### 时间线

- 2013: Vegeta appears publicly as an HTTP load-testing tool written in Go.
- 2015: GitHub issue discussions show users pushing on overload detection and concurrency behavior, reflecting real operational use.
- 2020s: Cloud-provider and community tutorials continue to present Vegeta as a lightweight CLI for API and service load testing.

### Related projects

- Vegeta is often considered alongside ApacheBench, wrk, k6, JMeter, Locust, Gatling, and GoReplay. Its closest niche is the small reproducible CLI benchmark, especially when a constant request rate matters more than browser-like scenario scripting.

### 来源

- <https://en.wikipedia.org/wiki/Vegeta_(software)>
- <https://github.com/tsenart/vegeta>
- <https://github.com/tsenart/vegeta/issues/126>
- <https://pkg.go.dev/gopkg.in/tsenart/vegeta.v10>
- <https://www.scaleway.com/en/docs/tutorials/load-testing-vegeta/>


## 安全说明

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

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

## 其他软件包管理器记录

- Nix - vegeta: normalized package name match | nixpkgs package indexes: pkgs/by-name/ve/vegeta/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - vegeta - 12.13.0-2: normalized package name match | Arch Linux sync databases: vegeta from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | HTTP load testing tool | https://github.com/tsenart/vegeta
- zypper - vegeta - 12.13.0-1.7: normalized package name match | openSUSE Tumbleweed package metadata: vegeta from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | HTTP load testing tool and library | https://github.com/tsenart/vegeta
- MacPorts - vegeta: normalized package name match | MacPorts ports tree: net/vegeta/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/vegeta: normalized package name match | Scoop official bucket manifest trees: bucket/vegeta.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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