From 233ea563fb904345b8b7dd8cc77ac9568dfafb62 Mon Sep 17 00:00:00 2001 From: Caleb Bassi Date: Tue, 20 Feb 2018 19:38:59 -0800 Subject: [PATCH] Updated README --- README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index fd1f4b3..260f27c 100644 --- a/README.md +++ b/README.md @@ -8,30 +8,28 @@ Built with [gopsutil](https://github.com/shirou/gopsutil), [drawille-go](https:/ ## Installation -Go compiles to a single binary so you just need to get that into your $PATH. +### Binaries + Binaries are currently available for 32bit and 64bit Linux and OSX. To download the latest binary for your OS into `/usr/bin`, you can run the [install](https://github.com/cjbassi/gotop/blob/master/install.sh) script: -``` -curl https://raw.githubusercontent.com/cjbassi/gotop/master/install.sh | sudo bash -``` + curl https://raw.githubusercontent.com/cjbassi/gotop/master/install.sh | sudo bash If you install this way, starting gotop with the `-u` flag will update if there's a newer version. To uninstall: -``` -sudo rm /usr/bin/gotop -``` - -Currently only tested on Arch Linux x86_64, so create an issue if your binary doesn't work. - + sudo rm /usr/bin/gotop ### Arch Linux Alternatively, if you're on Arch Linux you can install the `gotop` package from the AUR. +### Source + + github.com/cjbassi/gotop + ## Usage