ddgr

Search DuckDuckGo (HTML version) from the terminal. More information: <https://github.com/jarun/ddgr>.

Install

All systems
curl cmd.cat/ddgr.sh
Debian Debian
apt-get install ddgr
Ubuntu
apt-get install ddgr
image/svg+xml Kali Linux
apt-get install ddgr
Fedora
dnf install ddgr
Windows (WSL2)
sudo apt-get update sudo apt-get install ddgr
OS X
brew install ddgr

Search DuckDuckGo (HTML version) from the terminal. More information: <https://github.com/jarun/ddgr>.

  • Start in interactive mode:
    ddgr
  • Search DuckDuckGo for a keyword:
    ddgr keyword
  • Limit the number of search results to `N`:
    ddgr -n N keyword
  • Display the complete URL in search results:
    ddgr -x keyword
  • Search DuckDuckGo for a keyword and open the first result in the browser:
    ddgr !w keyword
  • Perform a website-specific search:
    ddgr -w site keyword
  • Search for a specific file type:
    ddgr keyword filetype:filetype
  • Display help in interactive mode:
    ?

© tl;dr; authors and contributors