# ghz を Homebrew, MacPorts, Nix, scoop でインストール

ghz のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ghz
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ghz
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ghz
```

  証拠: MacPorts ports tree: net/ghz/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ghz
```

  証拠: nixpkgs package indexes: pkgs/by-name/gh/ghz/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/ghz
```

  証拠: Scoop official bucket manifest trees: bucket/ghz.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:ghz
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/ghz>
- **バージョン:** 0.121.0
- **ソース概要:** Simple gRPC benchmarking and load testing tool
- **ホームページ:** <https://ghz.sh>
- **リポジトリ:** <https://github.com/bojand/ghz>
- **上流ドキュメント:** <https://ghz.sh/docs/intro.html>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/bojand/ghz/archive/refs/tags/v0.121.0.tar.gz>
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- ghz (cli)
- ghz (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 0.121.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/bojand/ghz
- 検出された最新: v0.121.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

ghz is a Go-based command-line utility and library for benchmarking and load testing gRPC services. Its niche is the gap between generic HTTP load generators and the protocol-specific needs of gRPC users, including proto files, reflection, metadata, streaming calls, and structured reports.

### プロジェクトの歴史

The public GitHub repository was created in March 2018 by Bojan D., with the project described from the start as a simple gRPC benchmarking and load testing tool. The documentation presents ghz as both a CLI and a Go package, so the project evolved around two usage surfaces: a terminal tool for direct test runs and library APIs for embedding performance tests in Go programs.

The release stream moved through many 0.x versions, with tagged releases reaching the 0.100 series by the early 2020s. That long pre-1.0 series fits the tool's role in a fast-moving gRPC ecosystem, where users needed practical support for proto/protoset inputs, reflection, TLS options, load schedules, output formats, and CI-friendly regression testing.

### 採用の歴史

ghz gained adoption among teams that operate gRPC services and need a protocol-aware load generator rather than adapting HTTP-centric tools. Its availability through Homebrew, MacPorts, Nix, Scoop, Docker, GitHub releases, and `go install` made it easy to put into developer laptops, CI jobs, and ephemeral benchmark environments.

The repository's public footprint, package-manager coverage, and dedicated documentation site indicate a tool used beyond a single internal project. Its significance is strongest in Go and gRPC communities, where generated protobuf types and service method names are already part of the normal development workflow.

### 使われ方

Practitioners use ghz to run local checks against a gRPC endpoint, tune request rate and worker concurrency, exercise unary or streaming methods, and emit summary, JSON, CSV, HTML, or Influx-compatible output. The documented Go package lets teams build custom performance tests around the same runner and printer machinery.

A common workflow is to provide a `.proto` file or protoset, name a fully qualified service method, pass JSON call data and metadata, then vary request counts, duration, rate limits, concurrency schedules, and TLS settings while watching latency and error distributions.

### パッケージ好きにとっての重要性

For package maintainers, ghz is a compact example of a Go CLI that ships well across ecosystems: single binaries, Homebrew formula, Scoop manifest, Nix package, Docker build, and direct `go install`. For users, it is the installable gRPC benchmarker that avoids building a one-off harness for every service.

### タイムライン

- 2018: Public GitHub repository created.
- 2023: The project had tagged releases in the 0.113 to 0.117 range.
- 2024: Releases continued through the 0.120 series.
- 2025: The 0.121.0 release was published.

### Related projects

- ghz is related to gRPC, Protocol Buffers, Go benchmark tooling, and general load-testing tools such as wrk, vegeta, and k6, but it specializes in gRPC request construction and reporting.

### ソース

- <https://api.github.com/repos/bojand/ghz>
- <https://ghz.sh/docs/intro.html>
- <https://github.com/bojand/ghz>
- <https://github.com/bojand/ghz/releases>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ghz
- **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:** head, stable

## 他のパッケージマネージャ記録

- Nix - ghz: normalized package name match | nixpkgs package indexes: pkgs/by-name/gh/ghz/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - ghz: normalized package name match | MacPorts ports tree: net/ghz/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/ghz: normalized package name match | Scoop official bucket manifest trees: bucket/ghz.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/ja/pkg/brew/go/) - Build dependency declared by Homebrew.
- [ghz-web](https://www.automicvault.com/ja/pkg/brew/ghz-web/) - Shares the same upstream source repository.
- [http_load](https://www.automicvault.com/ja/pkg/brew/http-load/) - Shares av.db curated category or tags: benchmarking, cli, developer-tools, load-testing, performance-testing.
- [httperf](https://www.automicvault.com/ja/pkg/brew/httperf/) - Shares av.db curated category or tags: benchmarking, cli, developer-tools, performance-testing.
- [jmeter](https://www.automicvault.com/ja/pkg/brew/jmeter/) - Shares av.db curated category or tags: cli, developer-tools, load-testing, performance-testing.
- [k6](https://www.automicvault.com/ja/pkg/brew/k6/) - Shares av.db curated category or tags: cli, developer-tools, go, load-testing, performance-testing.
- [vegeta](https://www.automicvault.com/ja/pkg/brew/vegeta/) - Shares av.db curated category or tags: benchmarking, cli, developer-tools, go, load-testing.
- [weighttp](https://www.automicvault.com/ja/pkg/brew/weighttp/) - Shares av.db curated category or tags: benchmarking, cli, developer-tools, performance-testing.
- [artillery](https://www.automicvault.com/ja/pkg/brew/artillery/) - Shares av.db curated category or tags: cli, developer-tools, load-testing, performance-testing.

## Combined YAML source

View the package source record on GitHub. [combined/ghz.yml](https://github.com/automic-vault/db/blob/main/combined/ghz.yml)


## ソース

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