How To Search 'DuckDuckGo' from Command Line

DuckDuckGo is an Internet search engine that lets the user search protecting its privacy, and show the best results instead of giving outputs based on previous searches. Googler is one of the popular utility to search google from the command line, but in this article I will show you "ddgr" tool to search "DuckDuckGo" from linux command line.


  • Fast and clean
  • No Ads
  • Navigate results from terminal, and open URLs in browser
  • Keywords
  • Use filters
  • Nice documentation
  • HTTPS proxy support, Do Not Track set, optionally disable User Agent


'ddgr' requires Python 3.3 or later. Only the latest patch release of each minor version is supported. Here are the installation steps for the following distributions (on their latest release up to 11/2017):


Execute the following commands separately:

$ sudo add-apt-repository ppa:twodopeshaggy/jarun
$ sudo apt-get update
$ sudo apt-get install ddgr


Install Git if you don't have it:

$ sudo pacman -S git

Clone the repository:

$ git clone

Go to ddgr folder and install it:

$ cd /ddgr
$ sudo make install

Install python-requests:

$ sudo pacman -S python-requests


Install Git if you don't have it:

$ sudo dnf install git

Clone the repository:

$ git clone

Go to ddgr folder and install it:

$ cd /ddgr
$ sudo make install

Examples to use ddgr

Search 'linoxide'

$ ddgr linoxide

Search 'linoxide' and open first result in browser

$ ddgr -j lucky linoxide

Search specific website

$ ddgr -w laptop

Search specific file type

$ ddgr resume filetype:pdf

You can find more examples and official documentation in the official repository. Hope you find this tool interesting. Happy privacy-aware searching on DuckDuckGo :-)

Ivo Ursino 1:40 am

About Ivo Ursino

I'm an Information Systems Engineering student and Linux enthusiast. I enjoy learning new technologies and testing them so as to give my review and help with their improvement. Staying up to date in the digital world is a must for me.

Author's All Posts
Like to become part of Linoxide Team and contribute tips? Contact us here.


Your email address will not be published. Required fields are marked *

All comments are subject to moderation.