Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, pacman, scoop, winget 安装 oha

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install oha

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install oha

MacPorts ports tree · net/oha/Portfile · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/oha

Scoop official bucket manifest trees · bucket/oha.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id hatoo.oha -e

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

时间线

  • 2020-03-02: the hatoo/oha GitHub repository was created.
  • 2026-07-01: Homebrew Formulae listed stable version 1.14.0.
  • 2026-07-01: GitHub API metadata reported 10,351 stars and 291 forks.

Related projects

  • oha is directly related to rakyll/hey, and through hey to the older boom load generator. Its Rust implementation uses tokio for async runtime behavior and ratatui for the terminal interface.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:http

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ohacli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.15.0
管理器更新时间2026-07-11
本地数据OK
上游当前
检测到的最新版本v1.15.0

https://github.com/hatoo/oha

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖cmake, pkgconf, rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameoha
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

oha

nix profile install nixpkgs#oha
  • normalized package name match
  • 匹配方式:Oha
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/oh/oha/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

oha 1.14.0-r0

HTTP load generator with TUI animation

https://github.com/hatoo/oha/tree/master

sudo apk add oha
  • License: MIT
  • Architecture: x86_64
  • Source Package: oha
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Oha
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: oha from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

oha-doc 1.14.0-r0

HTTP load generator with TUI animation (documentation)

https://github.com/hatoo/oha/tree/master

sudo apk add oha-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: oha
  • normalized package name match
  • 匹配方式:Oha
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: oha-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

oha 1.14.0-2

Ohayou(おはよう), HTTP load generator, inspired by rakyll/hey with tui animation

https://github.com/hatoo/oha

sudo pacman -S oha
  • License: MIT
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Oha
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: oha from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

oha

sudo port install oha
  • normalized package name match
  • 匹配方式:Oha
MacPorts ports tree · api.github.com · MacPorts ports tree: net/oha/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/oha

scoop install main/oha
  • normalized package name match
  • 匹配方式:Oha
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/oha.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

hatoo.oha

winget install --id hatoo.oha -e
  • normalized package name match
  • 匹配方式:Oha
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: hatoo.oha from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment