macOS
brew install ohalocal Homebrew formula metadata
安装
brew install ohalocal Homebrew formula metadata
sudo apk add ohaAlpine Linux edge package indexes · oha · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#ohanixpkgs package indexes · pkgs/by-name/oh/oha/package.nix · 来源: api.github.com
sudo pacman -S ohaArch Linux sync databases · oha · 来源: geo.mirror.pkgbuild.com
scoop install main/ohaScoop official bucket manifest trees · bucket/oha.json · 来源: api.github.com
winget install --id hatoo.oha -eWindows Package Manager source index · hatoo.oha · 来源: cdn.winget.microsoft.com
概览
HTTP load generator, inspired by rakyll/hey with tui animation
历史
oha, short for Ohayou, is a Rust HTTP load generator that combines hey-style request generation with a live terminal UI. It is aimed at quick HTTP benchmarking from the command line, with concurrency, duration, QPS limiting, HTTP/2, experimental HTTP/3, proxy, TLS, authentication, and request-body options.
The hatoo/oha repository was created on 2020-03-02. Its README explicitly says oha is inspired by rakyll/hey, written in Rust, powered by tokio, and uses ratatui for the TUI.
The hey relationship is important historically: hey is itself described as an ApacheBench replacement that was originally called boom before being renamed to avoid binary-name conflicts. oha keeps the small-load-generator spirit but differentiates itself with animated terminal feedback and a Rust async implementation.
oha crossed from Rust packaging into OS package managers. The README documents cargo install, pre-built GitHub releases, Arch Linux, Homebrew, WinGet, Debian via Azlux's repository, X-CMD, and an official container image. Homebrew Formulae reported stable version 1.14.0 and 5,312 installs in its 365-day analytics window when fetched on 2026-07-01.
GitHub API metadata fetched on 2026-07-01 reported 10,351 stars and 291 forks, which is a strong signal for a focused benchmarking CLI. The repository topics include benchmark, HTTP, HTTP/2, load-generator, load-testing, Rust, TUI, and command-line.
A typical run points oha at a URL and supplies request count, concurrency, duration, QPS, headers, body data, HTTP method, proxy settings, TLS options, redirect limits, or HTTP version flags. By default it displays a live TUI, while --no-tui supports script-friendly runs.
The README notes that oha's -q option is an overall query-per-second limit rather than a per-worker limit, a small but important semantic difference from hey. It also warns users to raise open-file limits for large concurrency values, which places it in the practical load-testing toolbox rather than purely synthetic benchmarking.
oha is package-nerd-significant because it shows the modern Rust CLI distribution pattern: crates.io installation, GitHub release binaries, Homebrew bottles, Arch packaging, WinGet, containers, optional feature flags, and TLS backend choices. It is also a concise example of a tool winning mindshare by improving the UX of an older CLI category rather than inventing a new benchmark model.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
oha | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:oha |
|---|---|
| 版本 | 1.15.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/oha |
| 主页 | https://github.com/hatoo/oha/ |
| 仓库 | https://github.com/hatoo/oha |
| 上游文档 | https://github.com/hatoo/oha#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/hatoo/oha/archive/refs/tags/v1.15.0.tar.gz |
| 最后更新 | 2026-07-11T10:21:31Z |
| Pulse | updated |
| 构建依赖 | cmake, pkgconf, rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | oha |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
oha
nix profile install nixpkgs#ohaoha 1.14.0-r0
HTTP load generator with TUI animation
https://github.com/hatoo/oha/tree/master
sudo apk add ohaoha-doc 1.14.0-r0
HTTP load generator with TUI animation (documentation)
https://github.com/hatoo/oha/tree/master
sudo apk add oha-docoha 1.14.0-2
Ohayou(おはよう), HTTP load generator, inspired by rakyll/hey with tui animation
sudo pacman -S ohaoha
sudo port install ohamain/oha
scoop install main/ohahatoo.oha
winget install --id hatoo.oha -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.