From eb09d76ad00832d751ac3e486679e1f0161ee3b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20H=C3=A5rek=20Andreassen?= Date: Thu, 3 Oct 2024 20:19:57 +0200 Subject: [PATCH] docs: Add binary installation instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tim HĂ„rek Andreassen --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 6c5f278..734041b 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,20 @@ Using go: `go install git.sr.ht/~timharek/yr` Adding more methods in the future. Help is wanted to achieve the best coverage. +### Using pre-compiled binary + +Select the version you want to install [available releases] and download +it and add it to your `bin` or something similar. + +Example: + +```bash +wget https://git.sr.ht/~timharek/yr/refs/download//yr--linux-amd64.tar.gz +tar xf yr--linux-amd64.tar.gz +cd yr- +cp yr /usr/local/bin +``` + ## Usage ```bash @@ -66,3 +80,4 @@ Send patches to the [mailing list], report bugs on the [issue tracker]. [mailing list]: https://lists.sr.ht/~timharek/yr [issue tracker]: https://todo.sr.ht/~timharek/yr [contribution guidelines]: ./CONTRIBUTING.md +[available releases]: https://git.sr.ht/~timharek/yr/refs