LinuxCommandLibrary

wikit

Wikipedia summaries from the terminal

TLDR

Search Wikipedia

$ wikit [topic]
copy
Multiple word query
$ wikit "[linux kernel]"
copy
Specific language
$ wikit -l [es] [topic]
copy
Open in browser
$ wikit -b [topic]
copy
Show full article
$ wikit -a [topic]
copy
Disable line breaks
$ wikit -n [topic]
copy

SYNOPSIS

wikit [-l lang] [-b] [-a] [options] query

DESCRIPTION

wikit is a command-line tool that fetches Wikipedia article summaries directly in the terminal. By default it displays the first paragraph of the matching article, providing a quick overview of any topic without leaving the command line.
The full article mode displays extended content beyond the opening summary. Language selection allows querying any of Wikipedia's language editions, and browser mode opens the complete article in a web browser for full reading. When a query matches multiple articles, disambiguation mode lists all possible meanings so you can refine your search.

PARAMETERS

-l, --lang LANG

Wikipedia language.
-b, --browser
Open in browser.
-a, --all
Full article.
-n, --line
No line breaks.
-d, --disambig
Show disambiguation.

CAVEATS

Requires internet. Wikipedia API limits. Not all languages complete.

HISTORY

wikit was created for quick Wikipedia lookups from the terminal. It provides instant access to encyclopedia knowledge.

SEE ALSO

curl(1), w3m(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community