SHARE

coinmon option for cryptocurrency
If you’re a Linux user, there are good chances that you might be knowing how to use the command line interface to get the most out of your machine. There are many fun tools for Linux terminal that make working on the same even more interesting. Today, I’m going to tell you how to check bitcoin price from terminal. To do so, we’ll be using a handy tool that I recently spotted on Reddit and Hacker News.

Before going ahead and telling you about the Coinmon command line utility for fetching the cryptocurrency prices, let me share some other interesting terminal tools and tricks that you’ll definitely love:

Use Coinmon for getting Bitcoin price from terminal

Now that you’ve checked out these cool tools, let’s tell you how to use Coinmon tool to fetch the latest cryptocurrency trends. As this open source project’s GitHub page describes, it’s the “best CLI tool for Engineers who are crypto investors as well.”

It’s worth noting that all the data fetched by this tool comes from coinmarketcap.com APIs. It’s a reputed website in the cryptocurrency world, so you can rest assured.

Installing Coinmon

To install and use Coinmon, make sure that you’re having Node version 6.0.0 or higher. To install Node on your Ubuntu, Debian, or Mint systems, run the following command. For other distros, feel free to use yum, dnf, or pacman package manager.

Having made sure that Node is installed on your machine, now run the following command to install Coinmon cryptocurrency price checking utility:

install nodejs npm ubuntuHow to use Coinmon to check cryptocurrency prices?

After installing Coinmon bitcoin price checker on your Linux machine, you just need to run the Coinmon command to get a list of top 10 cryptocurrencies, arranged by their marketcap. Just run:

This command gave the following output on my machine. Pretty sweet, right?

coinmon bitcoin prices in terminalThat’s not all. Coinmon has tons of customization options to refine your result and get the desired results. For example, you can use -c or –convert with fiat currency symbol to find in term of other currency. The supported currencies, other than USD, are: 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.

bitcoin price yen in terminalYou can also find the top n digital coins ranked by their market capitalization. For this, use -t or –top:

There are other options as well. Use -h or –help to list all valid parameters:

coinmon option for cryptocurrency

That’s all about Coinmon and how to check Bitcoin price from terminal. Share your views with us and stay tuned for more interesting stuff.

Also Read: The Ultimate A To Z List of Linux Commands | Linux Command Line Reference
SHARE
Adarsh Verma
Fossbytes co-founder and an aspiring entrepreneur who keeps a close eye on open source, tech giants, and security. Get in touch with him by sending an email — [email protected]

  Fossbytes Academy