Automic VaultAutomic Vault

brew

hz を Homebrew でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install hz

local Homebrew formula metadata

概要

パッケージ概要

Golang HTTP framework for microservices

コマンドとエイリアス

  • hz
  • protoc-gen-hertz
  • thrift-gen-hertz

履歴

プロジェクトの歴史と使われ方

hz is the command-line generator distributed with CloudWeGo Hertz, ByteDance's Go HTTP framework for microservices. In package-manager form it installs the hz executable and its protocol compiler plugins, making Hertz scaffolding available as a standalone developer tool.

プロジェクトの歴史

Hertz began inside ByteDance as a high-performance HTTP framework shaped by internal microservice requirements. CloudWeGo's README says Hertz was originally forked from fasthttp, inspired by Gin and Echo, and paired with ByteDance's Netpoll network library.

CloudWeGo announced Hertz as an open source project on June 21, 2022, after more than a year of internal use. The same announcement describes hz as the one-click command-line tool that generates project scaffolding from interface definition files.

The Homebrew formula packages the command-line side of the project from the cloudwego/hertz repository, installing hz along with protoc-gen-hertz and thrift-gen-hertz.

採用の歴史

Before public release, Hertz had already become a large internal ByteDance HTTP framework, with CloudWeGo reporting more than 10,000 online services and peak traffic above 40 million QPS. Public adoption grew around the CloudWeGo ecosystem, where Hertz, Kitex, Netpoll, examples, and hertz-contrib extensions form a Go microservice toolkit.

For package managers, hz is the convenient entry point: developers can install the generator without manually building the Hertz repository, then generate or update service scaffolding from Thrift or Protobuf IDL.

使われ方

hz is used to create and maintain Hertz projects from service definitions. The CloudWeGo announcement says it supports Thrift and Protobuf, depends on the official Protobuf compiler and Thriftgo, and can update generated scaffolding after IDL changes.

The surrounding Hertz framework targets high-usability, high-performance, extensible HTTP services with middleware, streaming, protocol support, observability hooks, and optional Netpoll or Go net transport behavior.

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

hz is package-nerd significant because it packages a generator rather than only a runtime library. It gives Homebrew users the same style of one-command workflow familiar from protoc plugins, thrift generators, and framework CLIs, while leaving application code in normal Go modules.

It also represents a common packaging pattern for large Go frameworks: the repository contains libraries, examples, generated-code support, and release tags, but package managers expose the small set of executables developers actually need on PATH.

タイムライン

  • 2021: Hertz launched internally at ByteDance according to CloudWeGo's open source announcement.
  • 2022-05: The cloudwego/hertz GitHub repository was created.
  • 2022-06: CloudWeGo announced Hertz as an open source project and described hz as the Hertz code-generation command.
  • 2025: Homebrew tracked the cmd/hz v0.9.x tag series for the standalone hz formula.
  • 2026: Hertz releases continued on the v0.10.x line.

Related projects

  • Related CloudWeGo projects include Netpoll, Kitex, Hertz examples, hertz-benchmark, and hertz-contrib. The README also names fasthttp, Gin, and Echo as important influences.

セキュリティ状態

リスクレベル: 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 メタデータは 8 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
hzcliグローバル実行可能ファイル
protoc-gen-hertzcliグローバル実行可能ファイル
thrift-gen-hertzcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.9.7
マネージャ更新日2026-06-15
ローカルデータOK
上流最新
検出された最新cmd/hz/v0.9.7

https://github.com/cloudwego/hertz

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:hz
バージョン0.9.7
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/hz
ホームページhttps://www.cloudwego.io
リポジトリhttps://github.com/cloudwego/hertz
上流ドキュメントhttps://www.cloudwego.io/docs/hertz
ライセンスApache-2.0
ソースアーカイブhttps://github.com/cloudwego/hertz/archive/refs/tags/cmd/hz/v0.9.7.tar.gz
最終更新2026-06-15T10:20:18-04:00
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

Combined YAML source

View the package source record on GitHub.

combined/hz.yml

使用ソース

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