install script

pull/5/head
Miguel Mota 6 years ago
parent 6f3f3dd824
commit 9d3677c06d

@ -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