Corona-cli, follow the COVID-19 statistics from the terminal

about Corona-cli

In the next article we are going to take a look at Corona-cli. This is an application created by MrAhmadAwais with which power view Coronavirus disease (COVID-19) statistics from the command line. We will have both statistics from around the world for all countries or those of a particular country. Your response time is fast ().

Today is a very difficult time for everyone. The Coronavirus is spreading very fast around the world. All countries are taking different precautions like quarantine or curfew, and they are doing everything they can to control this disease. If you want consult information about the evolution of this disease, the website of the World Health Organization (WHO) offers many resources, current situation reports, travel tips, protection and awareness measures or answers to all questions related to this disease.

For this reason, from the WHO, through many NGOs and different volunteers are doing their part to develop tools to make statistics on new coronavirus cases available to everyone. One of them is Corona-cli, which will allow us users check the statistics of the Coronavirus disease (Covid-19) from the terminal of our Ubuntu system.

Install Corona-cli on Ubuntu

In order to use this tool, we have to make sure we have installed Nodejs in our system. After installing Nodejs, we can now run the following command to install corona-cli on Ubuntu:

install corona-cli using npm

npm install -g corona-cli

Using Corona-cli

After the installation is finished, we can now track the statistics of the coronavirus disease (COVID-19) worldwide from the command line.

Corona-cli provides the following details

  • A world report on coronavirus disease.
  • Active daily report of the statistics related to COVID-19 of the selected country.
  • It tracks the Coronavirus statistics of the US states.
  • It also shows the report by country, cases, deaths, active, recovered, critical and number of cases per million.

Use

When corona-cli is run without any option, the program will show us the world statistics of Coronavirus in a tabular column ordered format, as shown below.

global execution crown

corona

As you can see from the above screenshot, each column in the above output contains the following details:

  • Country → Name of the country.
  • cases → Total number of cases in a country.
  • Cases (today) → Cases in 24 hours GMT/UTC.
  • Deaths → Total number of deaths in a country.
  • Deadths (today) - Deaths in 24 hours GMT/UTC.
  • Recovered → Total number of recovered people.
  • Active → Total number of active patients.
  • Critical → Total number of critical patients.
  • Per million - Affected patients per million.

With this application we will be able view Coronavirus statistics for a particular country. For example, to show the Coronavirus statistical data for Spain, we will have to write in the terminal (Ctrl + Alt + T):

statistics in spain

corona Spain

We can also sort the displayed Coronavirus statistics according to different options, as indicated in the following screenshot or from the project GitHub page.

Corona-cli keys

If you are interested view statistics related to the United States, we can see the Coronavirus data by state by running:

corona-cli states

corona states

For get help using this tool, you just have to run the help with the command:

crown help

corona --help

Helpful online resources that provide live statistics about Coronavirus

If you prefer not to install anything, you can use the following online resources to track Coronavirus data in the world from an internet connected desktop / mobile or tablet computer:

uninstall

If after trying this tool you want to remove it from your system, in a terminal (Ctrl + Alt + T) you just have to write the command:

uninstall corona-cli

sudo npm uninstall -g corona-cli

It can be obtained more information about this tool and its use from the project GitHub page.


2 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Joel said

    Interesting and practical, I liked it
    I just have a question, how do I change the permissions to use it with my user, without being root
    Thank you

    1.    Damien Amoedo said

      Hello. Possible installations appear in the page on GitHub of the project.