# h2c mit Homebrew installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für h2c in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install h2c
```

  Evidenz: local Homebrew formula metadata

## Paketfakten

- **Paketschlüssel:** brew:h2c
- **Paketmanager:** Homebrew
- **Version:** 1.0
- **Quellzusammenfassung:** Headers 2 curl
- **Homepage:** <https://curl.se/h2c/>
- **Repository:** <https://github.com/curl/h2c>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- h2c (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.0
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

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


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/h2c.yml](https://github.com/mxcl/pkgdb/blob/main/combined/h2c.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
