Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
How to Watch Live Cricket Scores in Linux Terminal using Cricket-CLI?
If you are a cricket fan who uses Linux, you may be wondering how to keep track of live cricket scores on your terminal. Fortunately, there is a solution that can provide you with live updates without leaving the command line interface: Cricket-CLI.
In this tutorial, we will show you how to use Cricket-CLI to watch live cricket scores in your Linux terminal. We will walk you through the installation process, explain how to use the tool, and even show you how to customize it to suit your preferences.
What is Cricket-CLI?
Cricket-CLI is a command-line interface (CLI) tool that provides live score updates, detailed scorecards, and commentary for cricket matches. It's a lightweight solution for cricket fans who want to keep up with the latest scores without leaving their terminal environment.
Installation
Cricket-CLI can be installed on various Linux distributions using their respective package managers. Here are the installation commands for different distributions
Debian/Ubuntu
sudo apt-get install cricket
Fedora/CentOS/RHEL
sudo dnf install cricket-cli
Arch Linux
sudo pacman -S cricket-cli
openSUSE
sudo zypper install cricket-cli
Once the installation is complete, you can start using the tool to get live cricket scores in your terminal.
Using Cricket-CLI
Cricket-CLI provides several commands to get specific information about cricket matches, including scorecards, live scores, and commentary.
Getting Live Scores
To get the live scores for all ongoing cricket matches, use the following command
cricket scores
This displays live scores for all current matches
LIVE CRICKET SCORES: 1. IND vs ENG, 4th Test - Day 2 England 1st Innings - 290/10 (87.4 Overs) India 1st Innings - 191/10 (61.3 Overs) England 2nd Innings - 77/0 (25.3 Overs) England lead by 176 runs with 10 wickets remaining 2. SA vs AUS, 3rd T20I South Africa - 171/6 (20 Overs) Australia - 125/10 (18.5 Overs) South Africa won by 46 runs
For a specific match, you can provide the team names as arguments
cricket scores IND vs ENG
Viewing Detailed Scorecards
To get detailed scorecards for a specific match, use the match ID
cricket scorecard <match_id>
For example
cricket scorecard 20395
This displays a detailed batting scorecard
+--------------+-----------------------+---------+---------+------+-------+-------+-------+ | Batsman | Description | R | B | 4s | 6s | SR | Team | +==============+=======================+=========+=========+======+=======+=======+=======+ | Rohit Sharma | b Adil Rashid | 37 | 25 | 6 | 1 | 148.0 | IND | +--------------+-----------------------+---------+---------+------+-------+-------+-------+ | Shikhar Dhawan| c Ben Stokes b Sam Curran | 4 | 12 | 0 | 0 | 33.3 | IND | +--------------+-----------------------+---------+---------+------+-------+-------+-------+ | Virat Kohli | c Buttler b Topley | 6 | 12 | 1 | 0 | 50.0 | IND | +--------------+-----------------------+---------+---------+------+-------+-------+-------+ | Suryakumar Yadav| not out | 57 | 31 | 6 | 3 | 183.9 | IND | +--------------+-----------------------+---------+---------+------+-------+-------+-------+ | Rishabh Pant | not out | 26 | 13 | 4 | 1 | 200.0 | IND | +--------------+-----------------------+---------+---------+------+-------+-------+-------+
Reading Live Commentary
To get ball-by-ball commentary for a match, use
cricket commentary <match_id>
Example
cricket commentary 20395
This shows recent commentary updates
[Over 7.5] T Curran to SK Yadav, FOUR runs! Shimmies down and gets this wide of mid-off for a boundary! The fielder gave it a good chase, but couldn't pull it back in. [Over 7.6] T Curran to SK Yadav, SIX runs! Looped up slower delivery, and Yadav has picked the bones out of that one! He absolutely smashes it over wide long-on and brings up his maiden fifty in T20Is in style! [Over 8.2] Rashid to SK Yadav, SIX runs! Comes down the track and gets this straight as an arrow! Hits it high and long over the bowler's head for a maximum! [Over 8.4] Rashid to SK Yadav, FOUR runs! Smashes this flat towards the long-off boundary, and it beats the fielder there! Surya is really taking the attack to the opposition!
Configuration Options
Cricket-CLI allows you to customize various settings using the config command
cricket config
This displays available configuration options
1. Refresh Interval (in seconds) [Default: 30]: 30 2. Default Match ID [Default: 0]: 1420409 3. Display Mode [Default: normal]: normal Enter the option number to modify (or press Enter to leave unchanged):
You can modify settings by entering the option number and following the prompts. For example, to change the refresh interval to 60 seconds, enter 1 and then 60 when prompted.
Getting Help
To view all available commands and options, use
cricket --help
This displays the complete help menu with usage instructions for all Cricket-CLI commands.
Conclusion
Cricket-CLI is an excellent tool for cricket enthusiasts who prefer working in the terminal. It provides comprehensive match information including live scores, detailed scorecards, and real-time commentary without requiring a graphical interface. With simple installation across major Linux distributions and customizable settings, Cricket-CLI makes following cricket matches convenient and efficient from the command line.
