# Eget: a CLI for installing GitHub release binaries and SDK archives

**URL:** <https://forum.golangbridge.org/t/eget-a-cli-for-installing-github-release-binaries-and-sdk-archives/42120>\
**Category:** Releases\
**Created:** [July 2, 2026, 3:28pm UTC](https://forum.golangbridge.org/t/eget-a-cli-for-installing-github-release-binaries-and-sdk-archives/42120 "2026-07-02T15:28:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![inhere](https://forum.golangbridge.org/user_avatar/forum.golangbridge.org/inhere/32/17696_2.png) [@inhere](https://forum.golangbridge.org/u/inhere)\
**Post date:** [July 2, 2026, 3:28pm UTC](https://forum.golangbridge.org/t/eget-a-cli-for-installing-github-release-binaries-and-sdk-archives/42120/1 "2026-07-02T15:28:51Z")

</div>

Hi all,

I built a CLI tool called `eget`:

> **[GitHub - inherelab/eget: Easily install prebuilt binaries from GitHub,...](https://github.com/inherelab/eget)**
>
> Easily install prebuilt binaries from GitHub, GitLab, Gitea/Forgejo and SourceForge. 从 GitHub、GitLab、Gitea/Forgejo 和 SourceForge 轻松安装预构建的二进制文件

The goal is to install prebuilt binaries directly from upstream release assets or download URLs, without waiting for a central package index to update.

Basic GitHub examples:

```bash
eget i openai/codex
eget install junegunn/fzf
eget install --name rg BurntSushi/ripgrep

```

For projects with less predictable asset names, it can query and filter release assets:

```bash
eget query --action assets openai/codex
eget install --asset "PRE:codex,SUF:.zip" openai/codex
eget install --asset "windows,amd64,zip" owner/repo

```

It is not limited to GitHub. It can install or download from GitLab, Gitea/Forgejo, SourceForge, direct URLs, and local files:

```bash
eget install gitlab:fdroid/fdroidserver
eget install --asset linux,amd64 gitea:codeberg.org/forgejo/forgejo
eget install --asset x64,PerUser,setup sourceforge:winmerge

```

For internal tools, `pkg_templates` can describe a shared download rule once:

```toml
[pkg_templates.mydev]
latest_url = "http://mydev.lan/tools/{name}/latest.yaml"
latest_format = "yaml"
url_template = "http://mydev.lan/tools/{name}/{name}-{os}-{arch}{ext}"
ext_map = { windows = ".exe", linux = "", darwin = "" }

```

Then packages can be installed with short names:

```bash
eget install mydev:markview
eget install --add mydev:chlog

```

There is also an `eget sdk` command for downloading SDK archives, with index/cache/mirror support for Go, Node, and JDK:

```bash
eget sdk config add --all
eget sdk index refresh go
eget sdk install go@1.22.0
eget sdk install go:1.22 node:20.11.1

```

I wrote a longer post with the background and examples here:

> **[eget: install GitHub releases without waiting for a central index](https://inhere.github.io/en/blog/2026/eget-intro/)**
>
> The pace of command-line tooling has changed. New tools show up on GitHub every day, and active projects may publish several releases in a week, sometimes in a day.
> The slow part is often not the project itself. It is the central package index in the...

I would be interested in feedback from Go users: for CLI tools and SDKs, do you prefer waiting for package manager indexes, using `go install` when possible, downloading release assets manually, or keeping a small installer/config like this?

---

<div class="post-metadata">

**Author:** ![system](https://forum.golangbridge.org/uploads/default/original/2X/5/5ad234f7c3dbc68b6cc72d338ce4f2973d9fd81c.png) [@system](https://forum.golangbridge.org/u/system)\
**Post date:** [September 30, 2026, 3:29pm UTC](https://forum.golangbridge.org/t/eget-a-cli-for-installing-github-release-binaries-and-sdk-archives/42120/2 "2026-09-30T15:29:14Z")

</div>

Closed on September 30, 2026, 3:29pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![system](https://forum.golangbridge.org/uploads/default/original/2X/5/5ad234f7c3dbc68b6cc72d338ce4f2973d9fd81c.png) [@system](https://forum.golangbridge.org/u/system)\
**Post date:** [October 26, 2026, 10:37am UTC](https://forum.golangbridge.org/t/eget-a-cli-for-installing-github-release-binaries-and-sdk-archives/42120/3 "2026-10-26T10:37:56Z")

</div>

Unlisted on October 26, 2026, 10:37am UTC



---

<div class="post-metadata">

**Author:** ![system](https://forum.golangbridge.org/uploads/default/original/2X/5/5ad234f7c3dbc68b6cc72d338ce4f2973d9fd81c.png) [@system](https://forum.golangbridge.org/u/system)\
**Post date:** [October 26, 2026, 4:52pm UTC](https://forum.golangbridge.org/t/eget-a-cli-for-installing-github-release-binaries-and-sdk-archives/42120/4 "2026-10-26T16:52:04Z")

</div>

Listed on October 26, 2026, 4:52pm UTC


