summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Bassi <calebjbassi@gmail.com>2018-04-09 11:06:23 -0700
committerCaleb Bassi <calebjbassi@gmail.com>2018-04-09 11:06:23 -0700
commit2d8ee4aaf459af793b142de74fb53806d3c33b8b (patch)
tree79d8d5d285cdf65c4d73891362a33f9e87d3b0ba
parente24d77281e2e874ab064a35ddf964c102a4fd03c (diff)
Update README about installation methods
-rw-r--r--README.md11
1 files changed, 5 insertions, 6 deletions
diff --git a/README.md b/README.md
index 04b7c93..82539a3 100644
--- a/README.md
+++ b/README.md
@@ -9,14 +9,13 @@ Built with [gopsutil](https://github.com/shirou/gopsutil), [drawille-go](https:/
## Installation
-### Binaries
+Go programs compile to a single binary and there are currently prebuilt ones for 32/64bit Linux and 64bit OSX. Either clone the repo and run [download.sh](https://github.com/cjbassi/gotop/blob/master/download.sh) to download the correct binary, use the AUR if you're on Arch, or build from source.
-Binaries are currently available for 32/64bit Linux and 64bit OSX.
-
-To download the latest binary for your system from GitHub, you can run the [download](https://github.com/cjbassi/gotop/blob/master/download.sh) script:
+### Using Git
```
-sh -c "$(curl https://raw.githubusercontent.com/cjbassi/gotop/master/download.sh)"
+git clone --depth 1 https://github.com/cjbassi/gotop.git /tmp/gotop
+/tmp/gotop/download.sh
```
Then move `gotop` into your $PATH somewhere.
@@ -24,7 +23,7 @@ Then move `gotop` into your $PATH somewhere.
### Arch Linux
-Alternatively, if you're on Arch Linux, you can install the `gotop-bin` package from the AUR.
+Install the `gotop-bin` package from the AUR.
### Source