How To Get Cryptocurrency Prices with Linux Commands
In this tutorial, we explain how to see the prices of cryptocurrencies (Bitcoin, Ethereum, IOTA, Ripple, etc.) with Linux commands.
For this case we will use a utility called Coinmon, which has been developed to allow us to check the prices of the cryptocurrencies, as well as their changes directly on the console, this is useful if we like the Forex world or if we plan to invest in this type of currency.
All real-time results are loaded from the coinmarketcap.com APIs.
How to install Coinmon on Linux
The installation and use of Coinmon require Node version 6.0.0 or higher. To install Node in Ubuntu, Debian or Mint distributions, we can execute the following command:
sudo apt-get install nodejs
For other distros, we must use the package manager yum, dnf or pacman.
Then we will execute the following command:
sudo apt-get install npm
With these commands executed, we now proceed to install the Coinmon price verification utility, for which we will run the next line:
sudo npm install -g coinmon
An alternative to installing Coinmon is to enter and run each of the following lines in their order:
git clone https://github.com/bichenkk/coinmon.git cd coinmon yarn npm install -g npm link coinmon
How To Use Coinmon
Once we complete the installation process of the application, we can run the coinmon line to access a list of the top 10 cryptocurrencies, ordered based on their market tag:
There we can see that in the first place there is bitcoin thanks to its volatility in the currency market. Coinmon allows us to perform specific searches of currencies to access much more direct results.
We can use the parameters -co -convert with the respective currency symbol, to see its conversion to another type of currency.
Coinmon accepted currencies 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 and USD.
For example, if we want to see the value of these cryptocurrencies in Euros, we will execute the following line:
coinmon -c eur
The result will be the following:
Another option when using Coinmon is to find the main digital currencies, indicating the quantity, classified by their market capitalization, this is practical for comparative tables, for this information we can use -to -top:
coinmon -t 15
In this case, we will see the 15 main cryptocurrencies
We can use the parameter -fo -find to find the details of a particular currency, for example, to know about the bitcoin we execute the following:
coinmon -f btc
To get the help of Coinmon we will run the following line:
In this way, we have a practical tool to know in real time the value of each most outstanding cryptocurrency in the financial world.