Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report