Ddgr
Search the web from the terminal with ddgr.
ddgr --noprompt --noua --json --num 10 "query terms"
Search Web
Preferred command (machine-readable JSON):
ddgr --noprompt --noua --json --num 10 "query terms"
Search with region targeting:
ddgr --noprompt --noua --json --num 10 -r us-en "query terms"
Common options:
--json: Return JSON results for deterministic parsing--num <N>: Maximum number of results-r <region>: Region code such asus-enorgb-en--noprompt: Non-interactive mode--noua: Disable random user-agent behavior
Fallback
If --json is not supported by the installed ddgr version, use plain output:
ddgr --noprompt --noua --num 10 "query terms"
Summarize results with title, URL, and snippet for each entry.
Scan to join WeChat group