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

User-friendly cURL replacement (command-line HTTP client). Version 3.2.4 via Homebrew; verified 2026-07-15. Also installable with debian: sudo apt install httpie.

## 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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','handbrake.install'

- 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
- **Version:** 3.2.4
- **Source summary:** User-friendly cURL replacement (command-line HTTP client)
- **Homepage:** <https://httpie.io/>
- **Repository:** <https://github.com/httpie/cli>
- **Last updated:** 2026-07-15T11:11:28Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.2.4
## 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
## 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-14.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.3: normalized package name match | openSUSE Tumbleweed package metadata: httpie from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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','handbrake.install'
- 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


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
