macOS
brew install howdoilocal Homebrew formula metadata
sudo port install howdoiMacPorts ports tree · devel/howdoi/Portfile · source: api.github.com
brew
Instant coding answers via the command-line. Version 2.0.20 via Homebrew; verified 2026-06-03.
install
brew install howdoilocal Homebrew formula metadata
sudo port install howdoiMacPorts ports tree · devel/howdoi/Portfile · source: api.github.com
sudo dnf install howdoiFedora Rawhide package metadata · howdoi · source: dl.fedoraproject.org
sudo apt install howdoiUbuntu 24.04 LTS package indexes · howdoi · source: archive.ubuntu.com
overview
Instant coding answers via the command-line
history
howdoi is a Python command-line tool that returns coding answers in the terminal. Its README pitches the tool as a way to avoid opening a browser for common programming questions, with examples that query Stack Overflow-style answers and print snippets directly.
Benjamin Gleitzman created howdoi and credits Rich Jones for the idea in the project README and source header. The repository source header describes it as written by Gleitzman, and the README keeps the intentionally terse premise: instant coding answers via the command line.
The project started as a small search-and-scrape utility and evolved into a more featureful CLI. The changelog records PyPI packaging, Python 3 support, multiple answers, color output, caching, alternate search engines, JSON output, saved answers, environment-variable configuration, and later changes caused by search-engine and Stack Overflow markup shifts.
PyPI records the first packaged 0.1.1 upload in November 2012, and Homebrew packages `howdoi` from the PyPI source archive. The package metadata in this batch also records distro packaging through DNF, MacPorts, and Ubuntu, which is unusually broad for a novelty-adjacent developer helper.
The README lists integrations for Slack, Telegram, Discord, Emacs, VSCode, and Alfred. Those integrations show that howdoi's basic idea escaped the original terminal command and became a reusable pattern for asking programming-reference questions from developer surfaces.
The core usage is `howdoi QUERY`, with options for selecting result position, returning multiple answers, printing full text, colorizing output, showing only links, choosing a search engine, using JSON output, and saving or viewing stashed answers.
Environment variables such as `HOWDOI_COLORIZE`, `HOWDOI_SEARCH_ENGINE`, and `HOWDOI_URL` let users change default behavior or point searches at other Stack Exchange sites.
howdoi is package-nerd catnip because it captures an early-2010s developer workflow in one tiny command: ask the web a coding question, scrape the likely answer, and stay in the shell. It is fragile by design because it depends on search results and answer-page markup, and the changelog reads like a history of keeping that trick alive.
It also helped popularize a genre of terminal knowledge tools that wrap public Q&A sites, then rely on package managers to make the joke useful enough to install everywhere.
security posture
No matching local secret-handling manifest was found for howdoi. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
howdoi | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/gleitz/howdoi
install metadata
| Package key | brew:howdoi |
|---|---|
| Version | 2.0.20 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/howdoi |
| Homepage | https://github.com/gleitz/howdoi |
| Repository | https://github.com/gleitz/howdoi |
| Upstream docs | https://github.com/gleitz/howdoi#readme |
| License | MIT |
| Source archive | https://files.pythonhosted.org/packages/6d/43/0e8166583575bd500c0f8f1a4ab9429af9466feb6fcdc006e88de8fd23e9/howdoi-2.0.20.tar.gz |
| Last updated | 2026-06-03T10:42:50Z |
| Pulse | updated |
| Dependencies | certifi, cryptography, libsodium, python@3.14 |
| Uses from macOS | libxml2, libxslt |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | howdoi |
| Version Scheme | 0 |
| Revision | 22 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
howdoi 1.1.9-1.1
command line tool for instant coding answers
https://github.com/gleitz/howdoi
sudo apt install howdoihowdoi 2.0.20-16.fc45
Instant coding answers via the command line
https://github.com/gleitz/howdoi
sudo dnf install howdoihowdoi
sudo port install howdoisource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.