Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, MacPorts, apt 安装 howdoi

查看 howdoi 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install howdoi

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install howdoi

MacPorts ports tree · devel/howdoi/Portfile · 来源: api.github.com

概览

软件包摘要

Instant coding answers via the command-line

命令和别名

  • howdoi

历史

项目历史与用法

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.

时间线

  • 2012: PyPI records the 0.1.1 package upload.
  • 2013: The 1.0 changelog marks Python 3 support and Production/Stable project status.
  • 2.0.1: The changelog adds JSON output and stashed answers.
  • 2.0.8: The changelog records the move from Travis to GitHub Actions and dropping Python 2.7 support.
  • 2022: PyPI records the 2.0.20 release, whose changelog adds Python 3.10 support.

Related projects

  • Stack Overflow and other Stack Exchange sites are the knowledge sources targeted by the documented query examples and `HOWDOI_URL` setting.
  • keep inspired the answer-stashing feature documented in the howdoi README and changelog.
  • slack-howdoi, howdoi-telegram, discord-howdoi, emacs-howdoi, VSCode howdoi, and alfred-howdoi are listed by the project as integrations.

安全态势

尚未找到受保护工具覆盖

没有找到 howdoi 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 4 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
howdoicli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本2.0.20
管理器更新时间2026-06-03
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namehowdoi
Version Scheme0
Revision22
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Ubuntu apt95%

howdoi 1.1.9-1.1

command line tool for instant coding answers

https://github.com/gleitz/howdoi

sudo apt install howdoi
  • Section: universe/misc
  • Architecture: all
  • 7 依赖
  • normalized package name match
  • 匹配方式:Howdoi
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: howdoi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

howdoi 2.0.20-16.fc45

Instant coding answers via the command line

https://github.com/gleitz/howdoi

sudo dnf install howdoi
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-howdoi
  • 3 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Howdoi
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: howdoi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

howdoi

sudo port install howdoi
  • normalized package name match
  • 匹配方式:Howdoi
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/howdoi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment