From d07f397f0d57cfab074f80c230fe8dd8c1cdd61f Mon Sep 17 00:00:00 2001 From: Caleb Bassi Date: Fri, 13 Apr 2018 16:46:27 -0700 Subject: Add Homebrew to readme --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 111e40a..24ec5f8 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,12 @@ Built with [gopsutil](https://github.com/shirou/gopsutil), [drawille-go](https:/ ## Installation -Go programs compile to a single binary and there are currently prebuilt ones for 32/64bit Linux, ARM Linux, and 32/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 Linux, or build from source. +Go programs compile to a single binary and there are currently prebuilt ones for 32/64bit Linux, ARM Linux, and 32/64bit OSX. ### Using Git +Clone the repo then run [download.sh](https://github.com/cjbassi/gotop/blob/master/download.sh) to download the correct binary: + ``` git clone --depth 1 https://github.com/cjbassi/gotop.git /tmp/gotop /tmp/gotop/download.sh @@ -27,6 +29,13 @@ Then move `gotop` into your $PATH somewhere. Install the `gotop-bin` package from the AUR. +### Homebrew + +``` +brew tap cjbassi/gotop +brew install gotop +``` + ### Source ``` -- cgit v1.2.3