Automic VaultAutomic Vault

brew

Install h2c with Homebrew

Headers 2 curl. Version 1.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install h2c

local Homebrew formula metadata

overview

Package summary

Headers 2 curl

Commands and aliases

  • h2c

history

Project history and usage

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.

Project history

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 history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
h2ccliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-26
manager version1.0
manager updated
local dataok
upstreamcurrent
latest detected1.0

https://github.com/curl/h2c

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:h2c
Version1.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/h2c
Homepagehttps://curl.se/h2c/
Repositoryhttps://github.com/curl/h2c
Upstream docshttps://curl.se/h2c
LicenseMIT
Source archivehttps://github.com/curl/h2c/archive/refs/tags/1.0.tar.gz
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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