macOS
brew install howdoilocal Homebrew formula metadata
sudo port install howdoiMacPorts ports tree · devel/howdoi/Portfile · 来源: api.github.com
安装
brew install howdoilocal Homebrew formula metadata
sudo port install howdoiMacPorts ports tree · devel/howdoi/Portfile · 来源: api.github.com
sudo dnf install howdoiFedora Rawhide package metadata · howdoi · 来源: dl.fedoraproject.org
sudo apt install howdoiUbuntu 24.04 LTS package indexes · howdoi · 来源: archive.ubuntu.com
概览
Instant coding answers via the command-line
历史
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.
安全态势
没有找到 howdoi 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
howdoi | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/gleitz/howdoi
安装元数据
| 软件包键 | brew:howdoi |
|---|---|
| 版本 | 2.0.20 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/howdoi |
| 主页 | https://github.com/gleitz/howdoi |
| 仓库 | https://github.com/gleitz/howdoi |
| 上游文档 | https://github.com/gleitz/howdoi#readme |
| 许可证 | MIT |
| 源码归档 | https://files.pythonhosted.org/packages/6d/43/0e8166583575bd500c0f8f1a4ab9429af9466feb6fcdc006e88de8fd23e9/howdoi-2.0.20.tar.gz |
| 最后更新 | 2026-06-03T10:42:50Z |
| Pulse | updated |
| 依赖 | certifi, cryptography, libsodium, python@3.14 |
| macOS 提供的库 | libxml2, libxslt |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 howdoi来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.