From 75b303618bf4259fc177f5a53135367e4132dd21 Mon Sep 17 00:00:00 2001 From: Ethan Kinnear Date: Sun, 12 Jun 2022 12:07:56 -0400 Subject: [PATCH] eget: add page (#8122) --- pages/common/eget.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/eget.md diff --git a/pages/common/eget.md b/pages/common/eget.md new file mode 100644 index 000000000..c35cd4cc2 --- /dev/null +++ b/pages/common/eget.md @@ -0,0 +1,32 @@ +# eget + +> Easily install prebuilt binaries from GitHub. +> More information: . + +- Download a prebuilt binary for the current system from a repository on GitHub: + +`eget {{zyedidia/micro}}` + +- Download from a URL: + +`eget {{https://go.dev/dl/go1.17.5.linux-amd64.tar.gz}}` + +- Specify the location to place the downloaded files: + +`eget {{zyedidia/micro}} --to={{path/to/directory}}` + +- Specify a `git` tag instead of using the latest version: + +`eget {{zyedidia/micro}} --tag={{v2.0.10}}` + +- Install the latest pre-release instead of the latest stable version: + +`eget {{zyedidia/micro}} --pre-release` + +- Only download the asset, skipping extraction: + +`eget {{zyedidia/micro}} --download-only` + +- Only download if there is a newer release then the currently downloaded version: + +`eget {{zyedidia/micro}} --upgrade-only`