# Install httpie with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, winget, zypper

User-friendly cURL replacement (command-line HTTP client). Version 3.2.4 via Homebrew; verified 2026-05-21.

## Install

```sh
sudo av install brew:httpie
```

## Agent safety answer

httpie sends HTTP requests and can call authenticated APIs from local credentials.

- **Credential access:** Reads tokens, headers, cookies, netrc-style credentials, and request body files.
- **Remote mutation:** Can call arbitrary APIs that mutate remote systems.
- **Publish/artifact risk:** Can upload files or trigger deployment APIs.
- **Recommended control:** Gate authenticated requests, file uploads, and destructive HTTP methods.
- **Agent-use guidance:** Allow public GETs; require approval for credentialed requests, uploads, POST, PUT, PATCH, and DELETE.

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install httpie
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install httpie
```

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

### Linux

- apk (92%):

```sh
sudo apk add httpie
```

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

- Debian apt (92%):

```sh
sudo apt install httpie
```

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

- dnf (92%):

```sh
sudo dnf install httpie
```

  Evidence: Fedora Rawhide package metadata: httpie from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#httpie
```

  Evidence: nixpkgs package indexes: httpie from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S httpie
```

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

- zypper (92%):

```sh
sudo zypper install httpie
```

  Evidence: openSUSE Tumbleweed package metadata: httpie from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install httpie
```

  Evidence: Chocolatey community package catalog: httpie from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','hexchat'

- winget (92%):

```sh
winget install --id HTTPie.HTTPie -e
```

  Evidence: Windows Package Manager source index: HTTPie.HTTPie from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:httpie
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/httpie>
- **Version:** 3.2.4
- **Source summary:** User-friendly cURL replacement (command-line HTTP client)
- **Homepage:** <https://httpie.io/>
- **Repository:** <https://github.com/httpie/cli>
- **Upstream docs:** <https://httpie.io/docs/cli>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/httpie/cli/archive/refs/tags/3.2.4.tar.gz>
- **Last updated:** 2026-05-21T12:42:21Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- http (cli)
- httpie (cli)
- https (cli)
- http (alias)
- httpie (alias)
- https (alias)

## Dependencies

- certifi
- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.2.4
- Package-manager updated: 2026-05-21
- Local data: ok
- Upstream repository: https://github.com/httpie/cli
- Upstream latest detected: 3.2.4 (current)
## Project history and usage

HTTPie is a human-friendly command-line HTTP client for testing, debugging, and interacting with APIs and HTTP servers.

### Project history

HTTPie was first published on February 25, 2012. Jakub Roztocil's project post describes it as the result of scratching an API testing itch, and the GitHub repository metadata shows the public repository was created the same day.

The project differentiated itself from older HTTP clients with natural command syntax, formatted and colorized output, default JSON ergonomics, persistent sessions, downloads, authentication helpers, and plugin support. The PyPI release history records the first package upload as version 0.1 on February 25, 2012.

### Adoption history

HTTPie grew through GitHub, PyPI, and operating-system package managers. Its own 2022 writeup says the project built a 54,000-star GitHub community over its first decade before an accidental repository visibility change deleted watchers and stars, after which the community rebuilt a large visible presence around the new `httpie/cli` repository state.

### How it is used

The CLI exposes `http` and `https` commands for sending arbitrary requests. Common package-level use cases include API exploration, JSON POST and PUT requests, scripted smoke tests, file uploads, redirects, sessions stored under the HTTPie config directory, and readable terminal output during debugging.

### Why package nerds care

HTTPie matters in package culture because it made the API-client experience feel native to the terminal without requiring users to memorize curl's denser flag vocabulary. It also became a standard example of a Python CLI that crossed into every major package ecosystem.

### Timeline

- 2012: First public release and GitHub repository creation on February 25.
- 2012: PyPI version 0.1 was uploaded on February 25.
- 2022: HTTPie published its account of losing a decade of GitHub stars and watchers.
- 2022: The project described HTTPie for Terminal as part of a broader Web and Desktop API platform effort.

### Related projects

- Related tools include curl, wget, Postman, Insomnia, REST Client-style editor plugins, and Python's Requests ecosystem.

### Sources

- <https://api.github.com/repos/httpie/cli>
- <https://github.com/httpie/cli>
- <https://httpie.io/blog/stardust>
- <https://httpie.io/docs/cli>
- <https://pypi.org/pypi/httpie/json>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Credential files

- Unix: $XDG_CONFIG_HOME/httpie/sessions, ~/.config/httpie/sessions, ~/.httpie/sessions
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** httpie
- **Version Scheme:** 0
- **Revision:** 10
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - httpie - 3.2.4-3: normalized package name match | Debian stable package indexes: httpie from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CLI, cURL-like tool for humans | https://httpie.io
- Nix - httpie: normalized package name match | nixpkgs package indexes: httpie from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - httpie - 3.2.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: httpie from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CLI, cURL-like tool for humans | https://httpie.io
- apk - httpie - 3.2.4-r2: normalized package name match | Alpine Linux edge package indexes: httpie from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI, cURL-like tool | https://httpie.org/
- apk - httpie-doc - 3.2.4-r2: normalized package name match | Alpine Linux edge package indexes: httpie-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI, cURL-like tool (documentation) | https://httpie.org/
- apk - httpie-pyc - 3.2.4-r2: normalized package name match | Alpine Linux edge package indexes: httpie-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for httpie | https://httpie.org/
- dnf - httpie - 3.2.4-13.fc45: normalized package name match | Fedora Rawhide package metadata: httpie from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A Curl-like tool for humans | https://httpie.org/
- pacman - httpie - 3.2.4-2: normalized package name match | Arch Linux sync databases: httpie from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | human-friendly CLI HTTP client for the API era | https://github.com/httpie/cli
- zypper - httpie - 3.2.4-5.2: normalized package name match | openSUSE Tumbleweed package metadata: httpie from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | CLI, cURL-like tool for humans | https://httpie.org/
- MacPorts - httpie: normalized package name match | MacPorts ports tree: net/httpie/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - httpie: normalized package name match | Chocolatey community package catalog: httpie from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','hexchat'
- winget - HTTPie.HTTPie: normalized package name match | Windows Package Manager source index: HTTPie.HTTPie from https://cdn.winget.microsoft.com/cache/source.msix
- winget - UnicornSoft.UnicornHTTPS: installed executable or alias match | Windows Package Manager source index: UnicornSoft.UnicornHTTPS from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [httpyac](https://www.automicvault.com/pkg/brew/httpyac/) - Shares av.db curated category or tags: api, api-client, cli, developer-tools, http-client.
- [xh](https://www.automicvault.com/pkg/brew/xh/) - Shares av.db curated category or tags: api, cli, developer-tools, http-client.
- [graphqurl](https://www.automicvault.com/pkg/brew/graphqurl/) - Shares av.db curated category or tags: api, api-client, cli, developer-tools, http-client.
- [ain](https://www.automicvault.com/pkg/brew/ain/) - Shares av.db curated category or tags: api, api-client, cli, developer-tools.
- [curlie](https://www.automicvault.com/pkg/brew/curlie/) - Shares av.db curated category or tags: api, cli, developer-tools, http-client.
- [graphql-inspector](https://www.automicvault.com/pkg/brew/graphql-inspector/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [graphqlviz](https://www.automicvault.com/pkg/brew/graphqlviz/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [graphqxl](https://www.automicvault.com/pkg/brew/graphqxl/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [http-prompt](https://www.automicvault.com/pkg/brew/http-prompt/) - Both packages touch the same language runtime or ecosystem. Shared terms: api, certifi, cli, client, command-line.

## Combined YAML source

View the package source record on GitHub. [combined/httpie.yml](https://github.com/automic-vault/db/blob/main/combined/httpie.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
