HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

eget — Easily install prebuilt binaries from GitHub. More information: <https://github.com/zyedidia/eget#us

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandprebuiltfrominstallclieasilybinarieseget

Problem

How to use the eget command: Easily install prebuilt binaries from GitHub. More information: <https://github.com/zyedidia/eget#usage>.

Solution

eget — Easily install prebuilt binaries from GitHub. More information: <https://github.com/zyedidia/eget#usage>.

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}} {{[-t|--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}} {{[-d|--download-only]}}


Only download if there is a newer release then the currently downloaded version:
eget {{zyedidia/micro}} --upgrade-only

Code Snippets

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}} {{[-t|--tag]}} {{v2.0.10}}

Install the latest pre-release instead of the latest stable version

eget {{zyedidia/micro}} --pre-release

Context

tldr-pages: common/eget

Revisions (0)

No revisions yet.