# 使用 Homebrew, apk, MacPorts, Nix, pacman 安装 ali

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

## 安装

```sh
sudo av install brew:ali
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ali
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ali
```

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

### Linux

- apk (92%):

```sh
sudo apk add ali
```

  证据: Alpine Linux edge package indexes: ali from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#ali
```

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

- pacman (92%):

```sh
sudo pacman -S ali
```

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

## 软件包事实

- **软件包键:** brew:ali
- **软件包管理器:** Homebrew
- **版本:** 0.8.0
- **来源摘要:** Generate HTTP load and plot the results in real-time
- **主页:** <https://github.com/nakabonne/ali>
- **仓库:** <https://github.com/nakabonne/ali>
- **最后更新:** 2026-07-27T08:43:18-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ali (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ali is a Go HTTP load-testing tool with a terminal UI for real-time charts. It is built for developers who want quick interactive load generation and immediate latency/throughput feedback without exporting data to a separate graphing tool first.

### 项目历史

The public GitHub repository was created in September 2020 by Ryo Nakao. The README describes ali as a load-testing tool capable of real-time analysis, inspired by vegeta and jplot.

The project combines HTTP attack generation with a TUI that can plot metrics while the test is running. Its README also calls out export support for downstream processing, which gives it both interactive and script-adjacent workflows.

### 采用历史

ali has broad package-manager presence for a small load-testing tool. The README documents Homebrew, MacPorts, APT, RPM, Pacman, APK, Go, and Docker installation paths, and the input facts also list Homebrew, MacPorts, Nix, Pacman, and Alpine packages.

Official GitHub metadata checked for this batch showed several thousand stars and more than a hundred forks, suggesting visible adoption among developers looking for terminal-first HTTP benchmarking tools.

### 使用方式

The simplest usage is `ali http://host.xz`, then launching the attack from the UI with default rate and duration. Users can tune rate, duration, workers, headers, request bodies, TLS settings, HTTP/2 behavior, DNS resolvers, and export directory through flags.

Its real-time terminal charts make it useful during exploratory testing, quick endpoint smoke tests under load, and demos where immediate feedback matters more than a full benchmarking lab.

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

ali is package-nerd-friendly because it is a single Go CLI that feels like a mashup of `vegeta` and terminal dashboards. Installing it through a package manager gives users a quick, reproducible load-test command without building a local observability stack.

It also shows a common packaging pattern for developer CLIs: upstream release binaries, distro packages, Homebrew taps/formulae, Docker, and `go install` all coexist.

### 时间线

- 2020: Public GitHub repository created.
- 2020s: README documents Homebrew, distro package, Go, and Docker installation paths.
- 2026: Repository metadata still shows active project visibility with thousands of stars.

### Related projects

- Related projects include vegeta for HTTP load testing, jplot for plotting inspiration, and termdash/termbox-go for terminal rendering.

### 来源

- <https://api.github.com/repos/nakabonne/ali>
- <https://github.com/nakabonne/ali>
- <https://raw.githubusercontent.com/nakabonne/ali/master/README.md>
- source_facts.package-manager


## 安全说明

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

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

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

- Nix - ali: normalized package name match | nixpkgs package indexes: pkgs/by-name/al/ali/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - ali - 0.8.0-r5: normalized package name match | Alpine Linux edge package indexes: ali from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Generate HTTP load and plot the results in real-time | https://github.com/nakabonne/ali
- apk - ali-doc - 0.8.0-r5: normalized package name match | Alpine Linux edge package indexes: ali-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Generate HTTP load and plot the results in real-time (documentation) | https://github.com/nakabonne/ali
- pacman - ali - 0.8.0-1: normalized package name match | Arch Linux sync databases: ali from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Generate HTTP load and plot the results in real-time | https://github.com/nakabonne/ali
- MacPorts - ali: normalized package name match | MacPorts ports tree: www/ali/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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