# Install http-prompt with Homebrew, MacPorts

Interactive command-line HTTP client with autocomplete and syntax highlighting. Version 2.1.0 via Homebrew; verified 2026-05-21.

## Install

```sh
sudo av install brew:http-prompt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install http-prompt
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install http-prompt
```

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

## Package facts

- **Package key:** brew:http-prompt
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/http-prompt>
- **Version:** 2.1.0
- **Source summary:** Interactive command-line HTTP client with autocomplete and syntax highlighting
- **Homepage:** <https://http-prompt.com>
- **Repository:** <https://github.com/httpie/http-prompt>
- **Upstream docs:** <https://docs.http-prompt.com/>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/bf/e2/bc5b0df107afcac65fde7015df48cbe9b4d877d1d0818203544ed1a41d4c/http-prompt-2.1.0.tar.gz>
- **Last updated:** 2026-05-21T12:48:32Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- http-prompt (cli)
- http-prompt (alias)

## Dependencies

- certifi
- libyaml
- 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: 2.1.0
- Package-manager updated: 2026-05-21
- Local data: ok
- Upstream repository: https://http-prompt.com
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

HTTP Prompt is an interactive command-line HTTP and API testing client built on HTTPie and prompt_toolkit. It brought shell-style completion, syntax highlighting, session context, and OpenAPI-aware navigation to HTTPie-style request construction.

### Project history

PyPI records the first http-prompt release, 0.1.0, in May 2016. The project documentation credits HTTPie for the human-friendly HTTP CLI model, prompt_toolkit for interactive terminal behavior, Parsimonious for parsing, and pgcli as an inspiration.

The documentation shows the project maturing quickly during 2016: configuration and persistent context appeared in v0.4.0, the persistent-context behavior changed in v0.6.0, and OpenAPI/Swagger navigation appeared in v0.10.0.

### Adoption history

HTTP Prompt gained developer-tool visibility through the HTTPie organization, PyPI distribution, Homebrew and MacPorts packaging in the input metadata, and a GitHub repository with thousands of stars. Its adoption tracked the 2010s shift toward friendlier API CLIs for testing JSON and REST services.

### How it is used

Users start an interactive prompt for a host, build up headers, query parameters, body fields, and authentication state, then preview or execute HTTP requests. The tool can persist session context and use an OpenAPI specification to autocomplete endpoint paths and parameters.

### Why package nerds care

HTTP Prompt is notable as a mashup package: HTTPie syntax, prompt_toolkit interaction, a PEG parser, and pgcli-style usability applied to API testing. For package people, it represents the Python CLI era when rich terminal UX became a first-class feature rather than a GUI afterthought.

### Timeline

- 2016: Version 0.1.0 was uploaded to PyPI.
- 2016: Version 0.4.0 added user configuration and persistent context.
- 2016: Version 0.10.0 added OpenAPI/Swagger-aware navigation.
- 2018: Version 1.0.0 was published on GitHub releases.
- 2021: Version 2.1.0 was published on GitHub releases.

### Related projects

- HTTPie, prompt_toolkit, Parsimonious, and pgcli are directly credited by the project. It also sits near curl, wget, Postman-style API testing, and OpenAPI tooling.

### Sources

- Official docs, GitHub README/release metadata, and PyPI package metadata.


## Security Notes

No matching local secret-handling manifest was found for http-prompt. Nucleus package metadata is still published here so future coverage has a stable package URL.



## 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.


## Configuration files

- Unix: $XDG_CONFIG_HOME/http-prompt/config.py, ~/.config/http-prompt/config.py
- Windows: %LOCALAPPDATA%/http-prompt/config.py, ~/AppData/Local/http-prompt/config.py

## Credential files

- Unix: $XDG_DATA_HOME/http-prompt/context.hp, ~/.local/share/http-prompt/context.hp
- Windows: %LOCALAPPDATA%/http-prompt/context.hp, ~/AppData/Local/http-prompt/context.hp
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** http-prompt
- **Version Scheme:** 0
- **Revision:** 19
- **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

- MacPorts - http-prompt: normalized package name match | MacPorts ports tree: net/http-prompt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [curlie](https://www.automicvault.com/pkg/brew/curlie/) - Shares av.db curated category or tags: api, api-testing, cli, developer-tools, http-client.
- [xh](https://www.automicvault.com/pkg/brew/xh/) - Shares av.db curated category or tags: api, api-testing, cli, developer-tools, http-client.
- [graphqurl](https://www.automicvault.com/pkg/brew/graphqurl/) - Shares av.db curated category or tags: api, cli, developer-tools, http-client.
- [httpie](https://www.automicvault.com/pkg/brew/httpie/) - Shares av.db curated category or tags: api, cli, developer-tools, http-client.
- [httpyac](https://www.automicvault.com/pkg/brew/httpyac/) - Shares av.db curated category or tags: api, cli, developer-tools, http-client.
- [kiota](https://www.automicvault.com/pkg/brew/kiota/) - Shares av.db curated category or tags: api, cli, developer-tools, http-client.
- [stripe-mock](https://www.automicvault.com/pkg/brew/stripe-mock/) - Shares av.db curated category or tags: api, api-testing, cli, developer-tools.
- [ain](https://www.automicvault.com/pkg/brew/ain/) - Shares av.db curated category or tags: api, cli, developer-tools.
- [litecli](https://www.automicvault.com/pkg/brew/litecli/) - Both packages touch the same language runtime or ecosystem. Shared terms: autocomplete, certifi, cli, client, developer.
- [pgcli](https://www.automicvault.com/pkg/brew/pgcli/) - Both packages touch the same language runtime or ecosystem. Shared terms: autocomplete, cli, client, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/http-prompt.yml](https://github.com/automic-vault/db/blob/main/combined/http-prompt.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
