Installation¶
Requirements¶
Before installing httptap, ensure you have:
- Python 3.10-3.15 (CPython recommended)
- pip or uv package manager
- macOS, Linux, or Windows operating system
No system dependencies beyond standard networking are required.
Running with uvx¶
The fastest way to run httptap without a permanent install. uvx (shipped with uv) fetches httptap and runs it in an ephemeral, isolated environment:
Recommended for a quick try
uvx needs no prior install step and leaves nothing behind — ideal for one-off checks or trying httptap out. For repeated use, install it with one of the methods below.
Installing via Homebrew¶
Convenient for macOS/Linux users
Homebrew installation is the simplest method and includes automatic shell completion setup.
Installing from PyPI¶
Running via Container¶
Signed multi-arch (linux/amd64, linux/arm64) images are published to GitHub Container Registry on every release:
Verify the image signature with cosign (keyless Sigstore):
cosign verify ghcr.io/ozeranskii/httptap:latest \
--certificate-identity-regexp 'https://github\.com/ozeranskii/httptap/\.github/workflows/release\.yml@.*' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
Pinned major/minor tags (e.g. :0, :0.6, :0.6.0) are also published.
Installing from Source¶
Clone the repository¶
Install with uv¶
Install with pip¶
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e .
Verifying Installation¶
After installation, verify that httptap is correctly installed:
You should see output similar to:
Upgrading¶
To upgrade httptap to the latest version:
Uninstalling¶
To remove httptap from your system:
Shell Completions¶
httptap supports shell completions for bash and zsh.
Homebrew Installation¶
If you installed httptap via Homebrew, completions are automatically configured. Simply restart your shell:
Homebrew automatically places completion scripts in:
- Bash:
$(brew --prefix)/etc/bash_completion.d/ - Zsh:
$(brew --prefix)/share/zsh/site-functions/
No additional setup required
Homebrew handles all completion setup automatically. Just restart your shell and start using Tab completion!
Python Package Installation¶
If you installed httptap via pip, uv, or pipx, you need to install the optional completion extras:
Activation¶
-
Activate your virtual environment (if using venv):
-
Enable completion for bash/zsh. Either register it globally once:
Or, to enable it only for
httptap, add this to your shell startup file (e.g.~/.bashrcor~/.zshrc): -
Restart your shell.
Usage¶
Once installed and activated, you can use Tab to autocomplete commands and options:
# Complete command options
httptap --<TAB>
# Complete after typing partial option
httptap --fol<TAB>
# Completes to: httptap --follow
# Complete multiple options
httptap --follow --time<TAB>
# Completes to: httptap --follow --timeout
Note
The global activation script provides argument completions for bash and zsh only. Other shells are not covered by the script and must be configured separately.
What's Next?¶
-
Learn the basics with simple examples
-
Complete command-line reference
-
Use httptap programmatically