# Install unxip with Homebrew, MacPorts

Fast Xcode unarchiver. Version 3.3 via Homebrew; verified 2026-05-10.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install unxip
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install unxip
```

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

## Package facts

- **Package key:** brew:unxip
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/unxip>
- **Version:** 3.3
- **Source summary:** Fast Xcode unarchiver
- **Homepage:** <https://github.com/saagarjha/unxip>
- **Repository:** <https://github.com/saagarjha/unxip>
- **Upstream docs:** <https://github.com/saagarjha/unxip#readme>
- **License:** LGPL-3.0-only
- **Source archive:** <https://github.com/saagarjha/unxip/archive/refs/tags/v3.3.tar.gz>
- **Last updated:** 2026-05-10T22:45:31-04:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- unxip (cli)
- unxip (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.3
- Package-manager updated: 2026-05-10
- Local data: ok
- Upstream repository: https://github.com/saagarjha/unxip
- Upstream latest detected: v3.3 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** unxip
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [xcp](https://www.automicvault.com/pkg/brew/xcp/) - Shares av.db curated category or tags: cli, developer-tools, swift, xcode.
- [xcsift](https://www.automicvault.com/pkg/brew/xcsift/) - Shares av.db curated category or tags: cli, developer-tools, swift, xcode.
- [kin](https://www.automicvault.com/pkg/brew/kin/) - Shares av.db curated category or tags: cli, developer-tools, xcode.
- [configen](https://www.automicvault.com/pkg/brew/configen/) - Shares av.db curated category or tags: cli, developer-tools, swift, xcode.
- [nef](https://www.automicvault.com/pkg/brew/nef/) - Shares av.db curated category or tags: cli, developer-tools, swift, xcode.
- [periphery](https://www.automicvault.com/pkg/brew/periphery/) - Shares av.db curated category or tags: cli, developer-tools, swift, xcode.
- [swift-outdated](https://www.automicvault.com/pkg/brew/swift-outdated/) - Shares av.db curated category or tags: cli, developer-tools, swift, xcode.
- [xcbeautify](https://www.automicvault.com/pkg/brew/xcbeautify/) - Shares av.db curated category or tags: cli, developer-tools, swift, xcode.

## Combined YAML source

View the package source record on GitHub. [combined/unxip.yml](https://github.com/automic-vault/db/blob/main/combined/unxip.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
