# 使用 Homebrew, winget 安装 ubi

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

## 安装

```sh
sudo av install brew:ubi
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ubi
```

  证据: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id houseabsolute.ubi -e
```

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

## 软件包事实

- **软件包键:** brew:ubi
- **软件包管理器:** Homebrew
- **版本:** 0.10.0
- **来源摘要:** Universal Binary Installer
- **主页:** <https://github.com/houseabsolute/ubi>
- **仓库:** <https://github.com/houseabsolute/ubi>
- **最后更新:** 2026-07-26T21:15:45Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ubi (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ubi, the Universal Binary Installer, is a small CLI for installing prebuilt binaries from GitHub releases and similar release pages. It belongs to the newer generation of package-helper tools that automate the common shell-script pattern of selecting the right OS and CPU asset, downloading it, and putting the binary on PATH.

### 项目历史

The official repository describes ubi as the Universal Binary Installer. Its release page shows a 0.x project with signed tags, many platform-specific release assets, and continuing changes around asset selection, platform matching, Android support, libc matching, private-repository downloads, and supply-chain safety.

The project is maintained by Dave Rolsky under the houseabsolute namespace and is distributed under Apache-2.0 OR MIT in the batch input. Its own releases are themselves a demonstration of the problem it solves: the v0.9.0 release publishes many per-platform archives and checksum assets.

### 采用历史

ubi is adopted in package-nerd workflows where users want a lightweight installer for GitHub-release binaries without writing a custom curl, tar, and grep script for each tool. The batch input lists Homebrew and winget availability, reflecting its cross-platform installer niche.

Release notes show the project responding to real packaging edge cases: asset names that contain misleading numbers, Android targets, musl versus glibc Linux assets, private repositories, and minimum release age to reduce supply-chain risk.

### 使用方式

ubi is used to pick a matching release artifact for the current platform, download it, and install the contained binary. Its package-nerd use case is bootstrapping CLI tools from upstream release assets when a native package does not exist or when the user wants upstream's current binary.

The v0.9.0 release added a --min-age-days flag to consider only releases at least a specified age, explicitly framed by the project as useful for mitigating supply-chain attacks.

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

ubi matters because GitHub Releases became an unofficial binary distribution layer for many small CLIs. A generic installer for those releases sits between full package managers and one-off install scripts.

For Homebrew users, the amusing recursion is that a package manager can install ubi, and ubi can then install tools that are not packaged or are wanted directly from upstream release artifacts.

### 时间线

- 2024-2026: The visible release history is in the 0.x series, with repeated changes around release-asset matching and platform support.
- 2026: v0.9.0 is released with --min-age-days for release-age filtering.

### Related projects

- GitHub Releases are the primary ecosystem surface for ubi's installer model.
- Homebrew and winget provide native package-manager distribution for ubi itself according to the batch input.

### 来源

- <https://github.com/houseabsolute/ubi identifies the project as The Universal Binary Installer.>
- <https://github.com/houseabsolute/ubi/releases documents release history, platform assets, asset-matching changes, private-repository handling, Android support, libc matching, and the --min-age-days supply-chain feature.>
- source_facts.package-manager identifies Homebrew and winget availability.


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- winget - houseabsolute.ubi: normalized package name match | Windows Package Manager source index: houseabsolute.ubi from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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