macOS
brew install xhlocal Homebrew formula metadata
sudo port install xhMacPorts ports tree · net/xh/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für xh in AI-Agent-Workflows.
Installation
brew install xhlocal Homebrew formula metadata
sudo port install xhMacPorts ports tree · net/xh/Portfile · Quelle: api.github.com
sudo apk add xhAlpine Linux edge package indexes · xh · Quelle: dl-cdn.alpinelinux.org
sudo apt install xhDebian stable package indexes · xh · Quelle: deb.debian.org
nix profile install nixpkgs#xhnixpkgs package indexes · pkgs/by-name/xh/xh/package.nix · Quelle: api.github.com
sudo pacman -S xhArch Linux sync databases · xh · Quelle: geo.mirror.pkgbuild.com
sudo zypper install xhopenSUSE Tumbleweed package metadata · xh · Quelle: download.opensuse.org
scoop install main/xhScoop official bucket manifest trees · bucket/xh.json · Quelle: api.github.com
winget install --id ducaale.xh -eWindows Package Manager source index · ducaale.xh · Quelle: cdn.winget.microsoft.com
Überblick
Friendly and fast tool for sending HTTP requests
Verlauf
xh is a Rust command-line HTTP client that deliberately follows HTTPie's human-friendly request syntax while focusing on speed, portability, and a single-binary feel. It ships the `xh` command for ordinary requests and commonly also `xhs` for HTTPS-first invocation.
The GitHub repository was created on 2020-09-10. From its README, the central project premise has been stable: reimplement as much as possible of HTTPie's design, but with improved performance. That places xh in a specific generation of Rust CLI rewrites that kept beloved command-line UX while replacing heavier runtimes with compiled binaries.
The tool grew into a broad HTTP client rather than a minimal curl wrapper. Its documented options cover JSON/form/multipart bodies, pretty output, auth modes, sessions, redirects, downloads, proxies, TLS settings, HTTP/2 and HTTP/3 prior-knowledge modes, Unix sockets, offline request construction, curl command generation, completions, and manpage generation.
xh's adoption story is unusually package-manager oriented. The README lists installation through Cargo, Homebrew, MacPorts, Nixpkgs, Alpine, Arch, Debian/Ubuntu, Fedora COPR, FreeBSD, NetBSD, Termux, Scoop, Chocolatey, Winget, and other managers, plus prebuilt binaries for Linux, macOS, and Windows.
By July 2026 the GitHub repository had about 7.9k stars, showing that xh had become one of the recognizable modern alternatives in the terminal HTTP-client space. Its strongest adoption path is among developers who like HTTPie's request syntax but want Rust startup speed and simpler binary distribution.
Typical use mirrors HTTPie: `xh GET example.com`, `xh POST :3000/users name=Ana`, headers with `Header:Value`, query parameters with `==`, JSON literals with `:=`, file upload items with `@`, and localhost shorthand such as `:8000`. The README also documents stdin/file request bodies, nested JSON paths, sessions, downloads, redirects, and output selection.
The package is useful in API testing, shell scripts, local service debugging, documentation snippets, and CI smoke checks where curl is too terse and a full API client is too heavy. The `xhs` alias/symlink convention gives a small packaging detail that matters: package installs can expose both HTTP-default and HTTPS-default entry points.
xh is a clean example of the modern Rust CLI packaging pattern: a familiar UX borrowed from an established tool, fast native binaries, broad package-manager availability, and generated shell/manpage assets. It competes not by inventing a new HTTP grammar, but by making an existing ergonomic grammar cheap to install and fast to run.
For package nerds, xh also shows how compatibility can be a product feature. Its value comes from preserving enough HTTPie muscle memory that package users can swap tools without relearning request-item syntax.
Sicherheitslage
broad file, network, media, or database tool signal.
blue Risiko · mittel Konfidenz · tool
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
xh | cli | globales Executable | |
xhs | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:xh |
|---|---|
| Version | 0.26.1 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/xh |
| Homepage | https://github.com/ducaale/xh |
| Repository | https://github.com/ducaale/xh |
| Upstream-Dokumentation | https://github.com/ducaale/xh#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/ducaale/xh/archive/refs/tags/v0.26.1.tar.gz |
| Zuletzt aktualisiert | 2026-06-20T00:41:08Z |
| Pulse | updated |
| Build-Abhängigkeiten | rust |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xh |
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
xh 0.24.0-1+b1
Friendly and fast tool for sending HTTP requests
sudo apt install xhxh
nix profile install nixpkgs#xhxh 0.24.0-r0
Yet another HTTPie clone
sudo apk add xhxh-bash-completion 0.24.0-r0
Bash completions for xh
sudo apk add xh-bash-completionxh-doc 0.24.0-r0
Yet another HTTPie clone (documentation)
sudo apk add xh-docxh-fish-completion 0.24.0-r0
Fish completions for xh
sudo apk add xh-fish-completionxh-zsh-completion 0.24.0-r0
Zsh completions for xh
sudo apk add xh-zsh-completionxh 0.25.3-1
Friendly and fast tool for sending HTTP requests
sudo pacman -S xhxh 0.25.3-1.3
Tool for sending HTTP requests
sudo zypper install xhxh
sudo port install xhmain/xh
scoop install main/xhducaale.xh
winget install --id ducaale.xh -eQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.