From 4826262c34743932f49a6e42258ff172493a6d6b Mon Sep 17 00:00:00 2001 From: bashbunni <15822994+bashbunni@users.noreply.github.com> Date: Wed, 6 Apr 2022 11:44:58 -0700 Subject: [PATCH] docs: replace go build with go install (#5) * docs: replace go build with go install * docs: add go install instructions * docs: add build instructions Co-authored-by: Carlos Alexandro Becker --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1193a41..8ff626e 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Backup and restore SSH private keys using memorizable seed phrases. ## Installation -Use your fave package manager: +### Package Manager ```bash # macOS or Linux @@ -25,9 +25,16 @@ yay -S melt-bin scoop install melt ``` -Or download a pre-compiled binary or package from the [releases][releases] page. +You can download a binary or package from the [releases][releases] page. -Or just build it yourself (requires Go 1.17+): +### Go + +Or just install it with `go`: +```bash +go install github.com/charmbracelet/melt/cmd/melt@latest +``` + +## Build (requires Go 1.17+) ```bash git clone https://github.com/charmbracelet/melt.git @@ -37,7 +44,6 @@ go build ./cmd/melt/ [releases]: https://github.com/charmbracelet/melt/releases - ## Usage The CLI usage looks like the following: