Description
xh is a friendly and fast command-line tool for sending HTTP requests. It reimplements as much as possible of HTTPie's design, with a focus on better performance, so people who know HTTPie can use it with little change. Its request-item syntax sets headers, JSON or form fields, query strings and multipart file uploads in one command. A single equals sign sets a string field, := sets other JSON types, == adds a query string, @ includes a file in a multipart request, and a colon adds or removes a header. You can install xh with a cURL script on Linux and macOS, a PowerShell script on Windows, pre-built binaries from the release page, or a package manager. The project's table lists many managers, including Homebrew, apt on Debian and Ubuntu, pacman, dnf, Nix, Scoop, Chocolatey and Cargo, plus Termux on Android. The project's help is available through xh help and the xh man page. The source is on GitHub, and the listing shows the tool as free.…
Highlights
- HTTPie-style request syntax in a single command
- Focused on performance
- Install with Homebrew, apt, Scoop, Cargo and more
- Pre-built binaries for Linux, macOS and Windows
Ratings & Reviews
No ratings yet
Be the first to rate XH.
People also visit
Reqable
Next-Gen API Development Tool, Advanced API Debugging Proxy and REST Client
Advanced REST Client (ARC)
API testing tool. Which allows web developers to create
Requestly
Open-source, lightweight Git-Friendly API Client built for modern developers
XH FAQ
What is xh?
A command-line tool for sending HTTP requests, designed to feel like HTTPie but faster.
How is it different from HTTPie?
The project says it reimplements as much of HTTPie's design as it can, with a focus on improved performance.
How do I install it?
On macOS with Homebrew, run brew install xh. On Debian and Ubuntu, run sudo apt install xh. The README lists other options.
How do I send a JSON field?
Use = for string fields and := for other JSON types, as in the request-item syntax.
Where can I find more help?
Run xh help or man xh for more detailed information.
Is it free?
The listing shows it as free. The source is public on GitHub.
What are the best XH alternatives?
Popular alternatives to XH include Hurl, Reqable and Advanced REST Client (ARC). See all XH alternatives



