Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use Coinmon to check the price of cryptocurrency under Linux

Shulou Source: shulou.com Published: 2022-06-01 20:43:15 10月03日 Update

This article will explain in detail how to use Coinmon to check the price of cryptocurrency under Linux. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Install Coinmon

Make sure you have Node.js and Npm installed on your system. If you do not have Node.js and / or npm installed on your machine, please refer to the link below for installation.

After installing Node.js and Npm, run the following command from the terminal to install Coinmon.

Sudo npm install-g coinmon view cryptocurrency prices from the command line

Run the following command to view the top 10 cryptocurrencies by market capitalization:

Coinmon

Sample output:

As I said, if you run Coinmon without any parameters, it will display the top 10 cryptocurrencies. You can also use the-t flag to see the highest n-bit cryptocurrency, such as 20.

Coinmon-t 20

All prices are shown in US dollars by default. You can also use the-c flag to convert the price from the dollar to another currency.

For example, to convert the price to INR (Indian rupee), run:

Coinmon-c inr

Currently, Coinmon 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.

You can also use cryptocurrency symbols to search for prices.

Coinmon-f btc

Here, btc is the symbol of Bitcoin. You can view the symbols of all available cryptocurrencies here [3].

For more details, please refer to the help section of coinmon:

$coinmon-hUsage: coinmon [options] Options:-V,-- version output the version number-c,-- convert [currency] Convert to your fiat currency (default: usd)-f,-- find [symbol] Find specific coin data with coin symbol (can be a comma seperated list) (default:)-t,-top [index] Show the top coins ranked from 1-[index] according to the market cap (default: null)-H,-- humanize [enable] Show market cap as a humanized number Default true (default: true)-h,-- help output usage information

This is the end of this article on "how to use Coinmon to check the price of encrypted currency under Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.

Tags: Currency encryption price run commands more symbols articles checks flags references help related good practical highest content rupees Indian rupees parameters Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Apple OPPO Reno Shulou Tech Info MariaDB