Update README for installing with Go (#68)

* Update README for installing with Go

On Go 1.17, `go get -u` as a method os installation locally was deprecated, and on 1.18 it completely fails to run. Switching to `go install github.com/arl/gitmux@latest` works as expected on 1.16+
This commit is contained in:
Julian Torres 2022-06-09 16:18:01 -04:00 committed by GitHub
parent d79bab3906
commit 9f9de9bb38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,10 +36,12 @@ Works with all decently recent [tmux](https://github.com/tmux/tmux) versions.
### From source
[Download and install a Go compiler](https://golang.org/dl/) (Go 1.15 or later).
Run `go get` to build and install `gitmux`:
[Download and install a Go compiler](https://golang.org/dl/) (Go 1.16 or later).
Run `go install` to build and install `gitmux`:
go get -u github.com/arl/gitmux
```bash
go install github.com/arl/gitmux@latest
```
## Getting started