# Installer xh avec Homebrew, apk, apt, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de xh pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:xh
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install xh
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xh
```

  Preuve: MacPorts ports tree: net/xh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add xh
```

  Preuve: Alpine Linux edge package indexes: xh from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install xh
```

  Preuve: Debian stable package indexes: xh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#xh
```

  Preuve: nixpkgs package indexes: pkgs/by-name/xh/xh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S xh
```

  Preuve: Arch Linux sync databases: xh from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install xh
```

  Preuve: openSUSE Tumbleweed package metadata: xh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/xh
```

  Preuve: Scoop official bucket manifest trees: bucket/xh.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id ducaale.xh -e
```

  Preuve: Windows Package Manager source index: ducaale.xh from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:xh
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/xh>
- **Version:** 0.26.2
- **Résumé source:** Friendly and fast tool for sending HTTP requests
- **Page d'accueil:** <https://github.com/ducaale/xh>
- **Dépôt:** <https://github.com/ducaale/xh>
- **Licence:** MIT
- **Archive source:** <https://github.com/ducaale/xh/archive/refs/tags/v0.26.2.tar.gz>
- **Dernière mise à jour:** 2026-07-26T15:43:32Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- xh (cli)
- xhs (cli)
- xh (alias)
- xhs (alias)

## Dépendances de compilation

- rust

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.26.2
- gestionnaire mis à jour: 2026-07-26
- données locales: OK
- dépôt amont: https://github.com/ducaale/xh
- dernière version détectée: v0.26.2 (à jour)
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 2020-09-10: the ducaale/xh GitHub repository is created.
- Early project framing: the README describes xh as a friendly and fast tool that reimplements HTTPie's design with better performance.
- By the mid-2020s: the README lists package-manager installation paths across Linux, macOS, Windows, BSD, Android, Cargo, and Nix-style ecosystems.
- By July 2026: GitHub repository metadata shows roughly 7.9k stars and continued activity.

### Related projects

- HTTPie is the direct design ancestor whose request-item syntax and human-friendly CLI style xh follows.
- curl is the lower-level incumbent HTTP CLI; xh even includes options to print curl translations.
- Rust and Cargo matter to xh's distribution story because the tool is implemented as a compiled Rust CLI and can be installed with `cargo install`.

### Sources

- <https://api.github.com/repos/ducaale/xh>
- <https://api.github.com/repos/ducaale/xh/releases?per_page=5>
- <https://github.com/ducaale/xh>
- <https://github.com/httpie/cli>
- <https://raw.githubusercontent.com/ducaale/xh/master/README.md>


## Notes de sécurité

broad file, network, media, or database tool signal.

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Détails de la base source

- **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:** head, stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - xh - 0.24.0-1+b1: normalized package name match | Debian stable package indexes: xh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Friendly and fast tool for sending HTTP requests | https://github.com/ducaale/xh
- Nix - xh: normalized package name match | nixpkgs package indexes: pkgs/by-name/xh/xh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - xh - 0.25.3-r0: normalized package name match | Alpine Linux edge package indexes: xh from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Yet another HTTPie clone | https://github.com/ducaale/xh
- apk - xh-bash-completion - 0.25.3-r0: normalized package name match | Alpine Linux edge package indexes: xh-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for xh | https://github.com/ducaale/xh
- apk - xh-doc - 0.25.3-r0: normalized package name match | Alpine Linux edge package indexes: xh-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Yet another HTTPie clone (documentation) | https://github.com/ducaale/xh
- apk - xh-fish-completion - 0.25.3-r0: normalized package name match | Alpine Linux edge package indexes: xh-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for xh | https://github.com/ducaale/xh
- apk - xh-zsh-completion - 0.25.3-r0: normalized package name match | Alpine Linux edge package indexes: xh-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for xh | https://github.com/ducaale/xh
- pacman - xh - 0.26.2-1: normalized package name match | Arch Linux sync databases: xh from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Friendly and fast tool for sending HTTP requests | https://github.com/ducaale/xh
- zypper - xh - 0.26.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: xh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tool for sending HTTP requests | https://github.com/ducaale/xh
- MacPorts - xh: normalized package name match | MacPorts ports tree: net/xh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/xh: normalized package name match | Scoop official bucket manifest trees: bucket/xh.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - ducaale.xh: normalized package name match | Windows Package Manager source index: ducaale.xh from https://cdn.winget.microsoft.com/cache/source.msix


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [rust](https://pkg.so/fr/brew/rust/) - Build dependency declared by Homebrew.
- [curlie](https://pkg.so/fr/brew/curlie/) - Shares pkgdb curated category or tags: api-testing, cli, developer-tools, http-client, httpie.
- [bruno-cli](https://pkg.so/fr/brew/bruno-cli/) - Shares pkgdb curated category or tags: api-testing, cli, developer-tools, http-client.
- [http-prompt](https://pkg.so/fr/brew/http-prompt/) - Shares pkgdb curated category or tags: api-testing, cli, developer-tools, http-client.
- [slumber](https://pkg.so/fr/brew/slumber/) - Shares pkgdb curated category or tags: api-testing, cli, developer-tools, http-client.
- [uv](https://pkg.so/fr/brew/uv/) - Shares pkgdb curated category or tags: cli, developer-tools, rust.
- [ripgrep](https://pkg.so/fr/brew/ripgrep/) - Shares pkgdb curated category or tags: cli, developer-tools, rust.
- [starship](https://pkg.so/fr/brew/starship/) - Shares pkgdb curated category or tags: cli, developer-tools, rust.
- [zoxide](https://pkg.so/fr/brew/zoxide/) - Shares pkgdb curated category or tags: cli, developer-tools, rust.
- [apib](https://pkg.so/fr/brew/apib/) - Local package facts share a topical domain. Shared terms: api, api-testing, cli, developer, developer-tools.
- [graphqurl](https://pkg.so/fr/brew/graphqurl/) - Local metadata places this package in an adjacent workflow. Shared terms: api, cli, client, developer, developer-tools.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
