macOS
brew install ddgrlocal Homebrew formula metadata
安装
brew install ddgrlocal Homebrew formula metadata
sudo apk add ddgrAlpine Linux edge package indexes · ddgr · 来源: dl-cdn.alpinelinux.org
sudo dnf install ddgrFedora Rawhide package metadata · ddgr · 来源: dl.fedoraproject.org
nix profile install nixpkgs#ddgrnixpkgs package indexes · pkgs/by-name/dd/ddgr/package.nix · 来源: api.github.com
sudo pacman -S ddgrArch Linux sync databases · ddgr · 来源: geo.mirror.pkgbuild.com
sudo zypper install ddgropenSUSE Tumbleweed package metadata · ddgr · 来源: download.opensuse.org
概览
DuckDuckGo from the terminal
历史
ddgr is a Python command-line client for searching DuckDuckGo from the terminal. It translates the browser search workflow into a compact terminal UI with result paging, bangs, browser integration, proxy support, JSON output, and a privacy-aware default posture.
The README presents ddgr as the DuckDuckGo counterpart to googler, created after command-line users asked for a similar utility for privacy-aware DuckDuckGo searches. The GitHub repository was created in 2016 and its release series reached v1.0 in 2017, with v2.2 published in 2023.
ddgr spread through package managers because it is a single-purpose CLI with minimal dependencies and a recognizable audience: terminal users who want web search without opening a full browser first. The README lists package-manager installation as the normal path and also notes PyPI, Snap, Termux-style standalone use, and shell completions.
Typical usage is interactive search at an omniprompt, one-shot searches from scripts, DuckDuckGo Bang dispatch, or opening selected results in a text or GUI browser. The README also notes that ddgr does not have a config file; users are expected to compose it with aliases, environment variables, completions, and browser settings.
ddgr is package-nerd friendly because it is a small terminal adapter around a web service, deliberately avoiding heavyweight browser state while still caring about completions, man pages, clipboard helpers, and cross-platform behavior. It also captures the tradition of installing tiny CLIs that make web workflows feel native to a shell.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ddgr | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ddgr |
|---|---|
| 版本 | 2.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ddgr |
| 主页 | https://github.com/jarun/ddgr |
| 仓库 | https://github.com/jarun/ddgr |
| 上游文档 | https://github.com/jarun/ddgr#readme |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://github.com/jarun/ddgr/archive/refs/tags/v2.2.tar.gz |
| macOS 提供的库 | python |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ddgr |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ddgr 2.2-1
DuckDuckGo from the terminal
sudo apt install ddgrddgr
nix profile install nixpkgs#ddgrddgr 2.2-1
DuckDuckGo from the terminal
sudo apt install ddgrddgr 2.2-r0
DuckDuckGo from the terminal
sudo apk add ddgrddgr-bash-completion 2.2-r0
Bash completions for ddgr
sudo apk add ddgr-bash-completionddgr-doc 2.2-r0
DuckDuckGo from the terminal (documentation)
sudo apk add ddgr-docddgr-fish-completion 2.2-r0
Fish completions for ddgr
sudo apk add ddgr-fish-completionddgr-zsh-completion 2.2-r0
Zsh completions for ddgr
sudo apk add ddgr-zsh-completionddgr 2.2-4.fc44
DuckDuckGo from the terminal
sudo dnf install ddgrddgr 2.2-2
DuckDuckGo from the terminal
sudo pacman -S ddgrddgr 2.2-1.5
DuckDuckGo from the terminal
sudo zypper install ddgr来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.