Add Homebrew to readme

This commit is contained in:
Caleb Bassi 2018-04-13 16:46:27 -07:00
parent 701987c8d5
commit d07f397f0d

View File

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