Updated README
This commit is contained in:
parent
8dad5e97a3
commit
233ea563fb
18
README.md
18
README.md
|
@ -8,30 +8,28 @@ Built with [gopsutil](https://github.com/shirou/gopsutil), [drawille-go](https:/
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Go compiles to a single binary so you just need to get that into your $PATH.
|
### Binaries
|
||||||
|
|
||||||
Binaries are currently available for 32bit and 64bit Linux and OSX.
|
Binaries are currently available for 32bit and 64bit Linux and OSX.
|
||||||
|
|
||||||
To download the latest binary for your OS into `/usr/bin`, you can run the [install](https://github.com/cjbassi/gotop/blob/master/install.sh) script:
|
To download the latest binary for your OS into `/usr/bin`, you can run the [install](https://github.com/cjbassi/gotop/blob/master/install.sh) script:
|
||||||
|
|
||||||
```
|
curl https://raw.githubusercontent.com/cjbassi/gotop/master/install.sh | sudo bash
|
||||||
curl https://raw.githubusercontent.com/cjbassi/gotop/master/install.sh | sudo bash
|
|
||||||
```
|
|
||||||
|
|
||||||
If you install this way, starting gotop with the `-u` flag will update if there's a newer version.
|
If you install this way, starting gotop with the `-u` flag will update if there's a newer version.
|
||||||
|
|
||||||
To uninstall:
|
To uninstall:
|
||||||
|
|
||||||
```
|
sudo rm /usr/bin/gotop
|
||||||
sudo rm /usr/bin/gotop
|
|
||||||
```
|
|
||||||
|
|
||||||
Currently only tested on Arch Linux x86_64, so create an issue if your binary doesn't work.
|
|
||||||
|
|
||||||
|
|
||||||
### Arch Linux
|
### Arch Linux
|
||||||
|
|
||||||
Alternatively, if you're on Arch Linux you can install the `gotop` package from the AUR.
|
Alternatively, if you're on Arch Linux you can install the `gotop` package from the AUR.
|
||||||
|
|
||||||
|
### Source
|
||||||
|
|
||||||
|
github.com/cjbassi/gotop
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user