← 返回命令列表

Linux command

googler 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Search Google

googler [search terms]

Search news

googler -N [query]

Search specific site

googler -w [site.com] [query]

Limit results

googler -n [5] [query]

Open result in browser

googler --open [query]

说明

googler is a power tool to search Google from the terminal. It shows results with titles, URLs, and snippets, and supports an interactive interface for browsing results and opening them in a browser. The tool supports site-specific search, news, various output customizations, and works without requiring an API key.

参数

-n _NUM_
Number of results.
-N, --news
Search news.
-w _SITE_
Limit to website.
--open
Open in browser.
-l _LANG_
Language code (e.g., en, fr, de).
-t _PERIOD_
Time filter: h (hour), d (day), w (week), m (month), y (year).
-c _COUNTRY_
Country code for localized results.
--json
Output results as JSON.
--noprompt
Non-interactive mode (no prompt, print results and exit).

FAQ

What is the googler command used for?

googler is a power tool to search Google from the terminal. It shows results with titles, URLs, and snippets, and supports an interactive interface for browsing results and opening them in a browser. The tool supports site-specific search, news, various output customizations, and works without requiring an API key.

How do I run a basic googler example?

Run `googler [search terms]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -n _NUM_ do in googler?

Number of results.