# 使用 Homebrew, Nix, scoop, winget 安装 eget

查看 eget 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:eget
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install eget
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#eget
```

  证据: nixpkgs package indexes: pkgs/by-name/eg/eget/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install extras/eget
```

  证据: Scoop official bucket manifest trees: bucket/eget.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id ZacharyYedidia.Eget -e
```

  证据: Windows Package Manager source index: ZacharyYedidia.Eget from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:eget
- **软件包管理器:** Homebrew
- **版本:** 1.3.4
- **来源摘要:** Easily install prebuilt binaries from GitHub
- **主页:** <https://github.com/zyedidia/eget>
- **仓库:** <https://github.com/zyedidia/eget>
- **最后更新:** 2026-07-26T04:11:37+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- eget (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.3.4
## 项目历史与用法

eget is Zachary Yedidia's small Go CLI for installing prebuilt binaries from GitHub releases. It occupies the practical space between curl scripts, manual release downloads, and full package-manager formulas.

### 项目历史

The first public GitHub release was v0.1.0 in August 2021. The README describes a focused tool: provide a repository or URL, let eget inspect release assets, pick a matching binary for the current system, download it, and extract it.

The v1.0.0 release in January 2022 added support for extracting multiple files and directories, making eget usable for projects distributed as archives rather than just one naked executable. The project later continued through the v1.3 series with cross-platform release assets.

### 采用历史

eget's adoption pattern is package-manager-adjacent: it is itself packaged in Homebrew, Nix, Scoop, and winget, but its main value is installing other GitHub-release tools before or outside those package managers. The README even notes that maintainers with GitHub release binaries can list eget as a one-line install method.

### 使用方式

Users run commands such as `eget owner/repo --to /usr/local/bin`, optionally filtering assets, selecting tags, extracting a specific file, or using a GitHub token through environment variables or configuration. The README documents TOML configuration for global and per-repository defaults.

### 为什么软件包爱好者会关心

eget is package-nerd bait because it automates the messy part of modern CLI distribution: release asset naming. It codifies common conventions around OS and architecture names, archive formats, checksums, and destination directories without trying to become a general package manager.

### 时间线

- 2021-08-18: v0.1.0 is published.
- 2021-08-25: v0.2.0 follows during early feature work.
- 2022-01-03: v1.0.0 adds multi-file and directory extraction.
- 2022-07-22: v1.2.0 is published.
- 2024-06-07: v1.3.4 is published.

### Related projects

- GitHub Releases are the primary upstream distribution surface that eget automates.
- zyedidia/micro appears in the README examples and is a natural companion project from the same author.
- Comparable single-binary install helpers include curl scripts, go install, and package-manager formulas, but eget focuses on release assets.

### 来源

- <https://github.com/zyedidia/eget#readme>
- <https://github.com/zyedidia/eget/blob/master/DOCS.md>
- <https://github.com/zyedidia/eget/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.eget.toml, $XDG_CONFIG_HOME/eget/eget.toml, ./eget.toml, $EGET_CONFIG
- Windows: %USERPROFILE%\.eget.toml, %LOCALAPPDATA%\eget\eget.toml, .\eget.toml, %EGET_CONFIG%

## Credential files

- Unix: ~/.eget.toml, $XDG_CONFIG_HOME/eget/eget.toml, ./eget.toml, $EGET_CONFIG
- Windows: %USERPROFILE%\.eget.toml, %LOCALAPPDATA%\eget\eget.toml, .\eget.toml, %EGET_CONFIG%
## 其他软件包管理器记录

- Nix - eget: normalized package name match | nixpkgs package indexes: pkgs/by-name/eg/eget/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - extras/eget: normalized package name match | Scoop official bucket manifest trees: bucket/eget.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - ZacharyYedidia.Eget: normalized package name match | Windows Package Manager source index: ZacharyYedidia.Eget from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/eget.yml](https://github.com/mxcl/pkgdb/blob/main/combined/eget.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
