# 使用 Homebrew, MacPorts 安装 unxip

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

## 安装

```sh
sudo av install brew:unxip
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install unxip
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install unxip
```

  证据: MacPorts ports tree: archivers/unxip/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:unxip
- **软件包管理器:** Homebrew
- **版本:** 3.3
- **来源摘要:** Fast Xcode unarchiver
- **主页:** <https://github.com/saagarjha/unxip>
- **仓库:** <https://github.com/saagarjha/unxip>
- **最后更新:** 2026-05-10T22:45:31-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- unxip (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

unxip is a purpose-built Swift command-line extractor for Apple's Xcode XIP archives. It belongs to the small but practical class of tools made for developers who regularly download, unpack, test, and archive large Xcode releases.

### 项目历史

The GitHub repository was created in February 2022. Its README describes the goal as outperforming Apple's Bom-based xip and Archive Utility path both in decompression time and disk usage, using a design specialized around the Xcode XIP format, pbzx content, cpio reconstruction, APFS compression, Swift Concurrency, and streaming backpressure.

The project later grew from a single command into reusable internals. Release notes for v3.0 in October 2023 added libunxip, a Swift stream-based API for transforming XIP input into decompressed chunks, files, and write completions. Later releases continued to track compiler, concurrency, OS-support, and output-directory behavior.

### 采用历史

The README points users to precompiled macOS binaries and names MacPorts and Homebrew as package-manager installations. GitHub repository metadata showed 958 stars and 46 forks when checked on July 2, 2026, indicating meaningful but specialized adoption among Xcode-heavy macOS developers.

### 使用方式

The intended command-line use is direct extraction of an Apple Xcode.xip into Xcode.app, either from a local file or from a stream into a target directory. The README warns that unxip does not perform signature verification, so users should validate downloads by another mechanism and prefer trusted sources such as Apple.

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

For package nerds, unxip matters because Xcode distribution is unusually large and slow to unpack, and toolchain managers often need repeatable extraction during CI image builds, local Xcode switching, and cache preparation. A packaged fast extractor is attractive precisely because it narrows one painful platform-specific step.

### 时间线

- 2022: GitHub repository created.
- 2023: v2.2 release notes added Linux support.
- 2023: v3.0 release notes added libunxip.
- 2026: v3.3 release notes lowered minimum macOS requirements and added output-directory support.

### Related projects

- The README contrasts unxip with Bom, xip(1), Archive Utility, Apple's compression_tool-documented pbzx format, cpio archives, and APFS transparent compression.

### 来源

- <https://api.github.com/repos/saagarjha/unxip>
- <https://api.github.com/repos/saagarjha/unxip/releases>
- <https://github.com/saagarjha/unxip>
- <https://raw.githubusercontent.com/saagarjha/unxip/main/README.md>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- MacPorts - unxip: normalized package name match | MacPorts ports tree: archivers/unxip/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/unxip.yml](https://github.com/mxcl/pkgdb/blob/main/combined/unxip.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
