LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

eget

GitHub release binary downloader

TLDR

Download latest release binary
$ eget [owner/repo]
copy
Download specific binary
$ eget [owner/repo] --asset [linux-amd64]
copy
Download to specific directory
$ eget [owner/repo] --to [/usr/local/bin]
copy
Download specific version
$ eget [owner/repo] --tag [v1.2.3]
copy
Extract specific file from archive
$ eget [owner/repo] --file [binary]
copy
Verify with SHA-256 checksum
$ eget [owner/repo] --sha256 [checksum]
copy
Download source code instead of binary
$ eget [owner/repo] --source
copy
Download without extracting
$ eget [owner/repo] --download-only
copy

SYNOPSIS

eget [options] repository

DESCRIPTION

eget downloads and extracts prebuilt binaries from GitHub releases. It automatically detects the correct asset for your platform (OS and architecture) and extracts executables from archives.The tool simplifies installing Go, Rust, and other compiled tools that distribute binaries through GitHub releases. It handles tar, zip, and other archive formats automatically.eget supports checksums verification and can be configured with a dotfile for managing multiple tools.

PARAMETERS

REPOSITORY

GitHub repository in owner/repo format.
--asset PATTERN
Asset name pattern to download.
--to DIR
Destination directory.
--tag VERSION
Specific version tag.
--file NAME
Extract specific file from archive.
--sha256 HASH
Verify downloaded file against SHA-256 checksum.
--source
Download source code archive instead of release binary.
--download-only
Download asset without extracting.
-q, --quiet
Suppress output.
--upgrade-only
Only download if newer version is available.
--help
Display help information.

CAVEATS

Requires GitHub API access. Rate limits may apply. Trust the source of binaries you download. Platform detection may not always match.

HISTORY

eget was created to simplify the common task of downloading and installing tools from GitHub releases, providing a single command to replace manual download, extraction, and installation.

SEE ALSO

gh(1), curl(1), wget(1)

Copied to clipboard
Kai