docs: streamline install instructions (#308)

* update to mimic the melt readme

Add a note to just use `go install` for installation.
This commit is contained in:
Jon Austin 2022-09-24 17:47:35 -07:00 committed by GitHub
commit 3607b402a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ More on that below.
## Installation
Use your fave package manager:
### Package Manager
```bash
# macOS or Linux
@ -77,7 +77,14 @@ Or download a binary from the [releases][releases] page. MacOS, Linux, Windows,
FreeBSD, and OpenBSD binaries are available, as well as Debian, RPM, and Alpine
packages. ARM builds are also available for macOS, Linux, FreeBSD, and OpenBSD.
Or just build it yourself (requires Go 1.13+):
### Go
Or just install it with `go`:
```bash
go install github.com/charmbracelet/glow@latest
```
### Build (requires Go 1.13+)
```bash
git clone https://github.com/charmbracelet/glow.git