diff --git a/README.md b/README.md index 347f5c0..f970f23 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ +[`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 diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..0493723 --- /dev/null +++ b/install.sh @@ -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/