Installation¶
Requirements¶
Before installing httptap, ensure you have:
- Python 3.10 or higher (CPython recommended)
- pip or uv package manager
- macOS, Linux, or Windows operating system
No system dependencies beyond standard networking are required.
Installing via Homebrew¶
Recommended for macOS/Linux users
Homebrew installation is the simplest method and includes automatic shell completion setup.
Installing from PyPI¶
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):
-
Run the global activation script:
-
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