Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Commit

Permalink
Update README about installation methods
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbassi committed Apr 9, 2018
1 parent e24d772 commit 2d8ee4a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,21 @@ 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.


### 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

Expand Down

0 comments on commit 2d8ee4a

Please sign in to comment.