Downloads and extracts pre-built binaries from GitHub releases with automatic platform detection
Eget is a command-line tool that automates the installation of pre-built binaries from GitHub releases. It analyzes release assets to identify compatible binaries for your system architecture and operating system, then downloads and extracts them to a specified directory. The tool handles various archive formats and provides automatic SHA-256 checksum verification when corresponding hash files are available.
The tool supports multiple installation patterns including specific release tags (--tag nightly), asset filtering with glob patterns (--asset ^musl), and directory extraction for complex packages. Eget can install to custom locations via the --to flag or use the EGET_BIN environment variable for consistent binary placement. It includes GitHub API rate limiting management through personal access tokens and supports configuration via TOML files for per-repository settings.
Eget is designed for developers and system administrators who frequently install CLI tools distributed as single binaries on GitHub. It works particularly well with software written in Go, Rust, or Haskell that typically ship as standalone executables. The tool includes upgrade detection (--upgrade-only) to avoid unnecessary downloads and supports both direct GitHub repository targets (user/repo) and direct URL downloads.
# via Homebrew
brew install eget
# via Go
go install github.com/zyedidia/eget@latest
# via Chocolatey
choco install eget
