1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 21:35:28 +02:00
tldr/pages/common/googler.md
Managor 23340cc6e0
common/*: reduce usage of "command-line" (part 1) (#16949)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-06-29 11:48:18 +03:00

36 lines
695 B
Markdown

# googler
> Search Google from the command-line.
> More information: <https://github.com/jarun/googler>.
- Search Google for a keyword:
`googler {{keyword}}`
- Search Google and open the first result in web browser:
`googler {{[-j|--first]}} {{keyword}}`
- Show `n` search results (default: 10):
`googler {{[-n|--count]}} {{n}} {{keyword}}`
- Disable automatic spelling correction:
`googler {{[-x|--exact]}} {{keyword}}`
- Search one site for a keyword:
`googler {{[-w|--site]}} {{site}} {{keyword}}`
- Show Google search result in JSON format:
`googler --json {{keyword}}`
- Perform in-place self-upgrade:
`googler {{[-u|--upgrade]}}`
- Display help in interactive mode:
`<?>`