# h2c を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:h2c
```

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

### macOS

- Homebrew (100%):

```sh
brew install h2c
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:h2c
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/h2c>
- **バージョン:** 1.0
- **ソース概要:** Headers 2 curl
- **ホームページ:** <https://curl.se/h2c/>
- **リポジトリ:** <https://github.com/curl/h2c>
- **上流ドキュメント:** <https://curl.se/h2c>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/curl/h2c/archive/refs/tags/1.0.tar.gz>
- **生成日時:** 2026-07-26T07:20:29+00:00

## 実行可能ファイル

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

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

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

h2c is a small curl-adjacent utility whose name means headers to curl. It reads an HTTP request, including headers and body, and emits an equivalent curl command line.

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

The official repository was created under the curl GitHub organization in August 2017. Its README defines the project narrowly: given a set of HTTP request headers, h2c outputs the curl command line needed to generate that request.

### 採用の歴史

Adoption is intentionally modest and developer-tool focused. The project has an official curl.se web surface plus a Homebrew formula, making it easy for curl users to install when they need to translate captured HTTP requests into repeatable CLI invocations.

### 使われ方

The README examples cover HTTP/1.1 and HTTP/2 requests, PUT bodies, multipart form uploads, cookies, user agents, and Basic authentication. The tool is useful when moving from a raw request captured in logs, browser tools, or documentation into a shell-friendly curl command.

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

h2c is package-nerd smallness in pure form: a single-purpose converter maintained near curl, valuable because it removes quoting and flag-selection friction without becoming a general HTTP client.

### タイムライン

- 2017: Repository created under the curl organization.
- 2017: README documented conversion of raw HTTP requests into curl commands.
- 2022: Repository metadata showed continued maintenance activity through mid-2022.

### Related projects

- h2c is directly related to curl and to workflows that capture raw HTTP requests from browsers, proxies, examples, or tests and replay them from the command line.

### ソース

- <https://curl.se/h2c/>
- <https://formulae.brew.sh/formula/h2c>
- <https://github.com/curl/h2c>
- <https://raw.githubusercontent.com/curl/h2c/master/README.md>


## セキュリティノート

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:** h2c
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 関連リンク

- [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.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [ain](https://www.automicvault.com/ja/pkg/brew/ain/) - Shares av.db curated category or tags: cli, curl, developer-tools, http.
- [httpstat](https://www.automicvault.com/ja/pkg/brew/httpstat/) - Shares av.db curated category or tags: cli, curl, developer-tools, http.
- [hurl](https://www.automicvault.com/ja/pkg/brew/hurl/) - Shares av.db curated category or tags: cli, curl, developer-tools, http.
- [ali](https://www.automicvault.com/ja/pkg/brew/ali/) - Shares av.db curated category or tags: cli, developer-tools, http.
- [ansifilter](https://www.automicvault.com/ja/pkg/brew/ansifilter/) - Shares av.db curated category or tags: cli, converter, developer-tools.
- [apib](https://www.automicvault.com/ja/pkg/brew/apib/) - Shares av.db curated category or tags: cli, developer-tools, http.
- [atac](https://www.automicvault.com/ja/pkg/brew/atac/) - Shares av.db curated category or tags: cli, developer-tools, http.
- [autobench](https://www.automicvault.com/ja/pkg/brew/autobench/) - Shares av.db curated category or tags: cli, developer-tools, http.
- [curlconverter](https://www.automicvault.com/ja/pkg/npm/curlconverter/) - Local package facts share a topical domain. Shared terms: cli, converter, curl, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/h2c.yml](https://github.com/automic-vault/db/blob/main/combined/h2c.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
- cross-ecosystem install command graph
