mirror of
https://github.com/cjbassi/gotop.git
synced 2025-05-01 22:18:38 +08:00
Add Homebrew to readme
This commit is contained in:
parent
701987c8d5
commit
d07f397f0d
11
README.md
11
README.md
@ -12,10 +12,12 @@ Built with [gopsutil](https://github.com/shirou/gopsutil), [drawille-go](https:/
|
|||||||
|
|
||||||
## Installation
|
## 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
|
### 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
|
git clone --depth 1 https://github.com/cjbassi/gotop.git /tmp/gotop
|
||||||
/tmp/gotop/download.sh
|
/tmp/gotop/download.sh
|
||||||
@ -27,6 +29,13 @@ Then move `gotop` into your $PATH somewhere.
|
|||||||
|
|
||||||
Install the `gotop-bin` package from the AUR.
|
Install the `gotop-bin` package from the AUR.
|
||||||
|
|
||||||
|
### Homebrew
|
||||||
|
|
||||||
|
```
|
||||||
|
brew tap cjbassi/gotop
|
||||||
|
brew install gotop
|
||||||
|
```
|
||||||
|
|
||||||
### Source
|
### Source
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user