install script

Former-commit-id: a2dd83c0e393ae703a321c2f388fe3b5e7ed4dd3 [formerly a2dd83c0e393ae703a321c2f388fe3b5e7ed4dd3 [formerly 23a5e962162d1bc8a8ea90cc73eaf13d598dee1a [formerly 9d3677c06d]]]
Former-commit-id: d622895569d6967364c88399ff1cb719af33c6d9
Former-commit-id: d4c049ff6864faa58d0e1116661b73b89484b22a [formerly f7b7e0046c34415e8fc3a467af99a0b282d969c3]
Former-commit-id: 3105d757a553501b1c32ff10515b092afc8f568d
pull/15/head
Miguel Mota 6 years ago
parent 77f5c752e9
commit a68d8aa485

@ -6,6 +6,8 @@
<img src="./assets/screenshot.gif" width="750" />
[`cointop`](https://github.com/miguelmota/cointop) is a fast and tiny (~2mb) command-line interface application for viewing cryptocurrency stats and information in your terminal. The interface is inspired by [`htop`](https://en.wikipedia.org/wiki/Htop).
## Install
Make sure to have [golang](https://golang.org/) installed, then do:
@ -17,6 +19,7 @@ go install github.com/miguelmota/cointop
### Alternatively
```
sudo
```
## Usage

@ -0,0 +1,9 @@
#!/bin/bash
if ! [ $(id -u) = 0 ]; then
echo "Must run as root"
exit 1
fi
curl https://github.com/miguelmota/cointop/raw/master/bin/cointop -o cointop
mv cointop /usr/local/bin/
Loading…
Cancel
Save