![](https://github.com/xxxserxxx/gotop/workflows/build/badge.svg)
![](https://github.com/xxxserxxx/gotop/workflows/prerelease/badge.svg)
## Installation
Working and tested on Linux, FreeBSD and macOS. Windows support is planned. OpenBSD works with some caveats.
### Source
```bash
go get github.com/xxxserxxx/gotop/cmd/gotop
```
### Prebuilt binaries
**Note**: Doesn't require Go.
Visit [here](https://github.com/xxxserxxx/gotop/releases) with your web browser and download a version that works for you.
Unzip it and then move `gotop` into your `$PATH` somewhere. If you're on a Debian or Redhat derivative, you can download an `.rpm` or `.deb` to install.
### Building
The easiest way is to
```
go get github.com/xxxserxxx/gotop/cmd/gotop
```
To create the cross-compile builds, there's a `make.sh` script; it has a lot of dependencies and has only been tested on my computer. When it works, it creates archives for numerous OSes & architectures. There's no testing for whether dependencies are available; it assumes they are and will fail in strange ways when they aren't.
- bash
- Go
- zip
- nfpm (for deb & rpm)
- docker (for darwin)
It is *just* smart enough to not rebuild things when it doesn't have to, and it tries to keep the darwin docker container around so it's not building from scratch every time. There are no guarantees.
## Usage
### Keybinds
- Quit: `q` or `