# Install ddgr with Homebrew, apk, apt, dnf, Nix, pacman, zypper

DuckDuckGo from the terminal. Version 2.2 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:ddgr
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ddgr
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add ddgr
```

  Evidence: Alpine Linux edge package indexes: ddgr from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ddgr
```

  Evidence: Debian stable package indexes: ddgr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ddgr
```

  Evidence: Fedora Rawhide package metadata: ddgr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ddgr
```

  Evidence: nixpkgs package indexes: pkgs/by-name/dd/ddgr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ddgr
```

  Evidence: Arch Linux sync databases: ddgr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install ddgr
```

  Evidence: openSUSE Tumbleweed package metadata: ddgr from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:ddgr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ddgr>
- **Version:** 2.2
- **Source summary:** DuckDuckGo from the terminal
- **Homepage:** <https://github.com/jarun/ddgr>
- **Repository:** <https://github.com/jarun/ddgr>
- **Upstream docs:** <https://github.com/jarun/ddgr#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/jarun/ddgr/archive/refs/tags/v2.2.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ddgr (cli)
- ddgr (alias)

## Uses from macOS

- python

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.2
- Local data: ok
- Upstream repository: https://github.com/jarun/ddgr
- Upstream latest detected: v2.2 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 2016: Public GitHub repository created.
- 2017: ddgr v1.0 released.
- 2020: ddgr v1.9 released.
- 2023: ddgr v2.2 released.

### Related projects

- googler is the sibling command-line search tool explicitly referenced by ddgr.
- DuckDuckGo Bangs are part of ddgr's search workflow.
- text browsers such as w3m, lynx, links, and elinks are supported through browser integration.

### Sources

- <https://github.com/jarun/ddgr>
- <https://github.com/jarun/ddgr#readme>
- <https://github.com/jarun/ddgr/releases>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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:** stable

## Other Package-Manager Records

- Debian apt - ddgr - 2.2-1: normalized package name match | Debian stable package indexes: ddgr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | DuckDuckGo from the terminal | https://github.com/jarun/ddgr
- Nix - ddgr: normalized package name match | nixpkgs package indexes: pkgs/by-name/dd/ddgr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ddgr - 2.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ddgr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | DuckDuckGo from the terminal | https://github.com/jarun/ddgr
- apk - ddgr - 2.2-r0: normalized package name match | Alpine Linux edge package indexes: ddgr from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | DuckDuckGo from the terminal | https://github.com/jarun/ddgr
- apk - ddgr-bash-completion - 2.2-r0: normalized package name match | Alpine Linux edge package indexes: ddgr-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for ddgr | https://github.com/jarun/ddgr
- apk - ddgr-doc - 2.2-r0: normalized package name match | Alpine Linux edge package indexes: ddgr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | DuckDuckGo from the terminal (documentation) | https://github.com/jarun/ddgr
- apk - ddgr-fish-completion - 2.2-r0: normalized package name match | Alpine Linux edge package indexes: ddgr-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for ddgr | https://github.com/jarun/ddgr
- apk - ddgr-zsh-completion - 2.2-r0: normalized package name match | Alpine Linux edge package indexes: ddgr-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for ddgr | https://github.com/jarun/ddgr
- dnf - ddgr - 2.2-4.fc44: normalized package name match | Fedora Rawhide package metadata: ddgr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | DuckDuckGo from the terminal | https://github.com/jarun/ddgr
- pacman - ddgr - 2.2-2: normalized package name match | Arch Linux sync databases: ddgr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | DuckDuckGo from the terminal | https://github.com/jarun/ddgr
- zypper - ddgr - 2.2-1.5: normalized package name match | openSUSE Tumbleweed package metadata: ddgr from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | DuckDuckGo from the terminal | https://github.com/jarun/ddgr


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [fzf](https://www.automicvault.com/pkg/brew/fzf/) - Shares av.db curated category or tags: cli, developer-tools, search, terminal.
- [fzy](https://www.automicvault.com/pkg/brew/fzy/) - Shares av.db curated category or tags: cli, developer-tools, search, terminal.
- [hgrep](https://www.automicvault.com/pkg/brew/hgrep/) - Shares av.db curated category or tags: cli, developer-tools, search, terminal.
- [sk](https://www.automicvault.com/pkg/brew/sk/) - Shares av.db curated category or tags: cli, developer-tools, search, terminal.
- [vgrep](https://www.automicvault.com/pkg/brew/vgrep/) - Shares av.db curated category or tags: cli, developer-tools, search, terminal.
- [chalk-cli](https://www.automicvault.com/pkg/brew/chalk-cli/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [chars](https://www.automicvault.com/pkg/brew/chars/) - Shares av.db curated category or tags: cli, developer-tools, terminal.
- [chatblade](https://www.automicvault.com/pkg/brew/chatblade/) - Shares av.db curated category or tags: cli, developer-tools, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/ddgr.yml](https://github.com/automic-vault/db/blob/main/combined/ddgr.yml)


## Sources

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