2025-03-14 21:59:59 -06:00
|
|
|
# eget
|
|
|
|
|
|
|
|
|
|
> Easily install prebuilt binaries from GitHub.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://github.com/zyedidia/eget#usage>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`eget {{zyedidia/micro}} --to {{path/to/directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Specify a Git tag instead of using the latest version:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`eget {{zyedidia/micro}} {{[-t|--tag]}} {{v2.0.10}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Install the latest pre-release instead of the latest stable version:
|
|
|
|
|
|
|
|
|
|
`eget {{zyedidia/micro}} --pre-release`
|
|
|
|
|
|
|
|
|
|
- Only download the asset, skipping extraction:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`eget {{zyedidia/micro}} {{[-d|--download-only]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Only download if there is a newer release then the currently downloaded version:
|
|
|
|
|
|
|
|
|
|
`eget {{zyedidia/micro}} --upgrade-only`
|