Skip to content

Commit

Permalink
docs: replace go build with go install (#5)
Browse files Browse the repository at this point in the history
* docs: replace go build with go install

* docs: add go install instructions

* docs: add build instructions

Co-authored-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
bashbunni and caarlos0 authored Apr 6, 2022
1 parent 7381eda commit 4826262
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -37,7 +44,6 @@ go build ./cmd/melt/

[releases]: https://github.com/charmbracelet/melt/releases


## Usage

The CLI usage looks like the following:
Expand Down

0 comments on commit 4826262

Please sign in to comment.