# 使用 Homebrew, apk, MacPorts, Nix, winget 安装 ipsw

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

## 安装

```sh
sudo av install brew:ipsw
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ipsw
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ipsw
```

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

### Linux

- apk (92%):

```sh
sudo apk add ipsw
```

  证据: Alpine Linux edge package indexes: ipsw from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#ipsw
```

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

### Windows

- winget (92%):

```sh
winget install --id blacktop.ipsw -e
```

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

## 软件包事实

- **软件包键:** brew:ipsw
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ipsw>
- **版本:** 3.1.707
- **来源摘要:** Research tool for iOS & macOS devices
- **主页:** <https://blacktop.github.io/ipsw>
- **仓库:** <https://github.com/blacktop/ipsw>
- **上游文档:** <https://blacktop.github.io/ipsw>
- **许可证:** MIT
- **源码归档:** <https://github.com/blacktop/ipsw/archive/refs/tags/v3.1.707.tar.gz>
- **最后更新:** 2026-08-02T21:20:55Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ipsw (cli)
- ipsw (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.1.707
- 管理器更新时间: 2026-08-02
- 本地数据: OK
- 上游仓库: https://github.com/blacktop/ipsw
- 检测到的最新版本: v3.1.707 (当前)
## 项目历史与用法

ipsw is blacktop's iOS and macOS firmware research CLI, a large Go-based toolkit for downloading, parsing, extracting, diffing, and analyzing Apple firmware, device artifacts, Mach-O binaries, dyld shared caches, and related security-research data.

### 项目历史

The project presents itself as an iOS/macOS research Swiss Army knife for security researchers, reverse engineers, jailbreak developers, and Apple-platform enthusiasts. Its documentation centers on IPSW and OTA analysis, Mach-O parsing, dyld shared cache analysis, kernelcache work, device interaction, firmware components such as IMG4/iBoot/SEP, App Store Connect integration, and developer tooling.

The repository history reflects a fast-moving research tool rather than a small Unix utility: the GitHub page records thousands of commits and hundreds of releases, while release notes in the 3.1.x series show continuing work on symbolication, dyld analysis, extract workflows, AppleDB handling, firmware keys, and dependency updates.

### 采用历史

ipsw's adoption is strongest in Apple security and reverse-engineering circles where users need a single command that understands firmware downloads, restore images, kernelcaches, dyld shared caches, Image4 objects, entitlements, crash logs, and connected devices.

Homebrew packages ipsw as an official formula with macOS and Linux bottles, and the input metadata also records MacPorts, Nix, and winget packaging. The upstream README also documents a blacktop tap, Snap installation for Linux, and Scoop installation for Windows.

### 使用方式

Common workflows include downloading firmware by device identifier, extracting kernelcache or DeviceTree artifacts, parsing dyld shared caches, class-dumping Objective-C and Swift metadata, symbolication, comparing IPSWs or OTAs, interacting with USB-connected iOS devices, and inspecting firmware components such as IMG4, iBoot, SEP, and co-processor images.

The CLI also grew into a broader research framework: the docs list App Store Connect commands, SSH and Frida-related tooling, sandbox and entitlement tools, package and BOM inspection, a REST API daemon, and AI-assisted decompilation integrations.

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

ipsw matters to package nerds because it bundles a large amount of Apple-platform reverse-engineering knowledge into a distributable CLI. It turns fast-changing proprietary firmware formats into repeatable commands, and its packaging has to keep pace with Go modules, large release artifacts, platform bottles, and security-research workflows.

### 时间线

- Repository era: blacktop/ipsw develops as a Go CLI and API daemon for Apple firmware and device research.
- 3.x era: Documentation describes an expanded framework covering IPSW/OTA, Mach-O, dyld, kernel, device, firmware, App Store Connect, and AI-assisted analysis commands.
- June 2026: Release notes in the 3.1.x line include symbolication, dyld, extract, AppleDB, and firmware-key updates.
- 2026: Homebrew formula metadata packages ipsw 3.1.700 with macOS and Linux bottle support.

### Related projects

- Apple IPSW and OTA firmware formats are the core data sources.
- AppleDB, dyld shared caches, Mach-O tooling, Frida, App Store Connect APIs, and device-management libraries sit around its workflows.
- Homebrew, the blacktop tap, Snap, Scoop, MacPorts, Nix, and winget are related distribution channels.

### 来源

- Homebrew formula metadata supplies package-manager availability, formula description, and bottle/platform context.
- The CLI documentation supplies command coverage and configuration details.
- The GitHub repository and release pages supply implementation context, repository scale, release cadence, and recent changelog themes.
- The official introduction supplies the project positioning, audience, capabilities, and use cases.


## 安全说明

没有找到 ipsw 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

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

- Nix - ipsw: normalized package name match | nixpkgs package indexes: pkgs/by-name/ip/ipsw/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - ipsw - 3.1.694-r1: normalized package name match | Alpine Linux edge package indexes: ipsw from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | iOS/macOS research swiss army knife | https://github.com/blacktop/ipsw
- apk - ipsw-daemon - 3.1.694-r1: normalized package name match | Alpine Linux edge package indexes: ipsw-daemon from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | iOS/macOS research swiss army knife (daemon) | https://github.com/blacktop/ipsw
- apk - ipsw-doc - 3.1.694-r1: normalized package name match | Alpine Linux edge package indexes: ipsw-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | iOS/macOS research swiss army knife (documentation) | https://github.com/blacktop/ipsw
- MacPorts - ipsw: normalized package name match | MacPorts ports tree: security/ipsw/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - blacktop.ipsw: normalized package name match | Windows Package Manager source index: blacktop.ipsw from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [binwalk](https://pkg.so/zh-hans/brew/binwalk/) - Shares pkgdb curated category or tags: cli, firmware, reverse-engineering, security.
- [jadx](https://pkg.so/zh-hans/brew/jadx/) - Shares pkgdb curated category or tags: cli, reverse-engineering, security.
- [pinentry-mac](https://pkg.so/zh-hans/brew/pinentry-mac/) - Shares pkgdb curated category or tags: cli, macos, security.
- [ghidra](https://pkg.so/zh-hans/brew/ghidra/) - Shares pkgdb curated category or tags: cli, reverse-engineering, security.
- [radare2](https://pkg.so/zh-hans/brew/radare2/) - Shares pkgdb curated category or tags: cli, reverse-engineering, security.
- [rizin](https://pkg.so/zh-hans/brew/rizin/) - Shares pkgdb curated category or tags: cli, reverse-engineering, security.
- [urh](https://pkg.so/zh-hans/brew/urh/) - Shares pkgdb curated category or tags: cli, reverse-engineering, security.
- [redress](https://pkg.so/zh-hans/brew/redress/) - Shares pkgdb curated category or tags: cli, reverse-engineering, security.
- [goresym](https://pkg.so/zh-hans/brew/goresym/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, engineering, reverse, reverse-engineering, security.

## Combined YAML source

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


## 来源

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