Skip to content

Commit

Permalink
doc: Update README.md about manual installation (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
victorhck authored Oct 13, 2022
1 parent 2367b58 commit 33bc397
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,26 +192,35 @@ docker run -it --cap-add syslog kmon

### Manual

1. Download the latest binary from [releases](https://github.com/orhun/kmon/releases).
1. Download the latest binary from [releases](https://github.com/orhun/kmon/releases) section and pick between [glibc](https://en.wikipedia.org/wiki/Glibc) or [musl-libc](https://musl.libc.org/) binary.
2. To download the package compiled with [glibc](https://en.wikipedia.org/wiki/Glibc) run:

```
wget https://github.com/orhun/kmon/releases/download/v[VERSION]/kmon-[VERSION].tar.gz
wget https://github.com/orhun/kmon/releases/download/v[VERSION]/kmon-[VERSION]-x86_64-unknown-linux-gnu.tar.gz
```
2. Extract the files.
3. To download the package compiled with [musl-libc](https://musl.libc.org/) run:
```
wget https://github.com/orhun/kmon/releases/download/v[VERSION]/kmon-[VERSION]-x86_64-unknown-linux-musl.tar.gz
```
3. Extract the files.

```
tar -xvzf kmon-*.tar.gz
```
4. Enter in the new folder.
```
cd kmon-[VERSION]
```

3. Run the binary.
5. Run the binary.

```
./kmon
```

4. Move binary to `/usr/local/bin/` for running it from the terminal using `kmon` command.
6. Move binary to `/usr/local/bin/` for running it from the terminal using `kmon` command.

5. Man page and shell completions are generated at build time in `target` directory.
7. Man page and shell completions are generated at build time in `target` directory.

#### Note

Expand Down

0 comments on commit 33bc397

Please sign in to comment.