Bitcoin is one of the hot topics these days in the international market. We have discussed a lot about this cryptocurrency earlier, but today, we are going to tell you how to check bitcoin prices right from your Linux terminal. Whether you have invested your money in Bitcoin or other cryptocurrencies, it will be very interesting to check their prices right from the terminal.
How To Check Bitcoin Prices From Linux Terminal?
There is no default way to check bitcoin prices from Linux as we need to install third-party app or tools. To do so, we will be using a handy tool called ‘Coinmon.’ As this open source project’s GitHub page describes, it’s the “best CLI tool for those who are both Crypto investors and Engineers.”
Install Coinmon:
In order to install and use Coinmon, first, you need to have Node version 6.0.0 or higher (nodejs) in your Linux operating system.
To install Node on your system, run the following command:
sudo apt-get install nodejs
sudo apt-get install npm
Now install Coinmon on your Linux machine using the command mentioned below:
sudo npm install -g coinmon
How to use Coinmon to check cryptocurrency prices?
To check the top 10 cryptocurrencies ranked by their market cap, simply type the command below
sudo coinmon
Sample output would be:
You can also find the top n cryptocurrencies ranked by their market capitalization. For this, use -t (or –top) with the index
sudo coinmon -t 50 // find top 50
sudo coinmon -t 1000 // find top 1000
NOTE: It’s worth noting that all the data fetched by this Coinmon tool comes from coinmarketcap.com APIs. It’s a reputed website in the cryptocurrency world, so you can rest assured.
And this is not all. Coinmon has tons of customization options to refine your search and get the desired results. For example, you can use -c (or –convert) with the fiat currency symbol to find in terms of other currency. The default currency is USD and it supports AUD, BRL, CAD, CHF, CLP, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PKR, PLN, RUB, SEK, SGD, THB, TRY, TWD, ZAR.
$ coinmon -c eur // convert prices to Eurodollars
$ coinmon -c jpy // convert prices to the Japanese yen
You can use the -h (or –help) to find all valid options of coinmon
sudo coinmon -h
So that’s all about Coinmon cryptocurrency tool and how to use your Linux command terminal to check the price of Bitcoin and other Cryptocurrencies.