Downloads and extracts pre-built binaries from GitHub releases with automatic platform detection
Eget is a command-line binary installer that downloads and extracts pre-built executables from GitHub releases. It automatically detects the appropriate binary for your system architecture and operating system by analyzing release assets, then downloads and extracts the executable to your current directory or specified location. The tool works by parsing repository names in user/repo format, fetching the latest release assets via GitHub's API, and using pattern matching to identify suitable binaries.
The tool includes several detection mechanisms for different archive formats and naming conventions commonly used in GitHub releases. It supports filtering assets with glob patterns, downloading specific tagged releases, and can verify SHA-256 checksums automatically when corresponding .sha256 files are present. Eget also handles GitHub API rate limiting through personal access tokens and can download from direct URLs or local files in addition to GitHub repositories.
Eget is designed for installing simple, static binaries where no additional installation steps are required - particularly CLI tools built with languages like Go, Rust, or Haskell. It supports configuration via TOML files for setting per-repository defaults and global preferences. The tool can upgrade existing binaries using the --upgrade-only flag and provides options for extracting multiple files or entire directories from archives.
# via Homebrew
brew install eget
# via Go
go install github.com/zyedidia/eget@latest
# via Chocolatey
choco install eget
