What is httpie?
HTTPie provides a readable command-line interface for HTTP requests.
Homebrew installs httpie as a formula: a package definition for command-line software and its dependencies. If Homebrew is not installed yet, follow the official installation guide before continuing.
Install and check the formula
Refresh Homebrew’s package definitions, then install httpie. Use brew info to inspect the current package and its dependencies; the actual installed version can change over time.
brew update
brew install httpie
brew info httpieTry it
This sends a GET request to a public example URL. Substitute your API endpoint when appropriate.
http --version
http GET https://example.com/Before you rely on it
Request headers and bodies can contain secrets. Avoid pasting tokens into shared transcripts or logs.
curl is available on macOS and offers broad protocol and scripting support.
Update or remove it
Run brew outdated to see if a newer version is available, and brew upgrade httpie to upgrade this formula. Before removing it, preview the changes; other packages may depend on it.
brew outdated
brew upgrade httpie
brew uninstall --dry-run httpie