← 返回命令列表

Linux command

eget 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Download latest release

eget [owner/repo]

Download specific

eget [owner/repo] --asset [linux-amd64]

Download to specific

eget [owner/repo] --to [/usr/local/bin]

Download specific version

eget [owner/repo] --tag [v1.2.3]

Extract specific file

eget [owner/repo] --file [binary]

Verify with SHA-256 checksum

eget [owner/repo] --sha256 [checksum]

Download source code

eget [owner/repo] --source

Download without extracting

eget [owner/repo] --download-only

说明

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.

参数

--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.

FAQ

What is the eget command used for?

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.

How do I run a basic eget example?

Run `eget [owner/repo]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --asset _PATTERN_ do in eget?

Asset name pattern to download.