HomeLinuxSearch Wikipedia on Linux Command Line

Search Wikipedia on Linux Command Line


Wikit is a free and open-source command-line program for simply viewing Wikipedia summaries of search queries on the Linux command line; it’s constructed utilizing Nodejs.

The verb Wikit (derived from “wikipedia it“) means wanting up one thing on wikipedia.org, the favored and memorable open-source encyclopedia on the Web.

To put in Wikit on Linux programs, you should have nodejs and npm put in, if not set up it utilizing your default package deal supervisor as proven.

$ sudo apt set up nodejs	#Debian/Ubuntu
$ sudo yum set up nodejs npm	#RHEL/CentOS
$ sudo dnf set up nodejs npm	#Fedora 22+

Putting in nodejs and npm from the default repositories provides you with the little older model. Due to this fact, learn our article to get a newer model of nodejs and npm in Linux.

After putting in the mandatory dependencies, run the next command to put in wikit in Linux (the -g flag tells npm to put in wikit globally).

$ sudo npm set up wikit -g

As soon as Wikit is put in in your system, you may run it utilizing the next syntax.

$ wikit Linux
Wikipedia Command Line View
Wikipedia Command Line View

The output proven is the paragraphs of the Wikipedia article earlier than the desk of contents and the road size is neatly wrapped based mostly in your terminal’s window measurement, with a max of about 80 characters.

In case you are working wikit on a desktop pc with an internet browser put in, you may open the total Wikipedia article in a browser utilizing the -b flag as beneath.

$ wikit linux -b

To outline the road wrap size to quantity (minimal 15), use the -l possibility as proven.

$ wikit linux --line 90
Searching Wikipedia on Linux Commandline
Looking out Wikipedia on Linux Commandline

For extra data, go to the Wikit Github repository.

Lastly, do try these fancy command line-based instruments for numerous duties.

You should use the remark kind beneath to ask any questions or share any helpful ideas with us.

If You Admire What We Do Right here On TecMint, You Ought to Take into account:

TecMint is the quickest rising and most trusted group website for any type of Linux Articles, Guides and Books on the net. Tens of millions of individuals go to TecMint! to go looking or browse the hundreds of revealed articles out there FREELY to all.

When you like what you’re studying, please take into account shopping for us a espresso ( or 2 ) as a token of appreciation.

Support Us

We’re grateful to your by no means ending assist.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments