ipsw
iOS/macOS Research Swiss Army Knife
ipsw is a command-line toolkit for Apple firmware research and reverse engineering. Download and unpack IPSWs and OTAs, inspect Mach-O binaries and dyld shared caches, analyze kernelcaches, and work with connected iOS devices.
Agent skill · Install · CLI examples · Documentation
Use ipsw with an AI agent
ipsw ships with an agent skill for Claude Code, Codex, and other agents that support skills. It gives the agent command references and workflows for firmware extraction, binary analysis, and Apple platform research. The skill lives in skills/ipsw and is built into the ipsw binary.
Install the ipsw CLI, then install the skill bundled with it:
ipsw skill install # ~/.agents/skills (Codex and other agents)
ipsw skill install --agent claude # Claude Code
ipsw skill install --local # only the current project
Re-run it after upgrading ipsw so the skill matches your binary.
The same skill also installs through the usual agent tools:
# skills.sh
npx skills add blacktop/ipsw --skill ipsw
# Claude Code plugin
claude plugin marketplace add blacktop/ipsw --sparse .claude-plugin skills
claude plugin install ipsw@ipsw
# Codex plugin
codex plugin marketplace add blacktop/ipsw --sparse .claude-plugin --sparse skills
codex plugin add ipsw@ipsw
The --sparse paths fetch only the skill instead of the whole repository. Pick one install method per agent: installing the skill twice, say as a plugin and with ipsw skill install, makes the agent load it twice.
You can then ask for a task in plain language. For example:
Download the latest IPSW for iPhone 15 Pro and extract its kernelcache.
Dump the Objective-C headers for SpringBoardServices from this dyld shared cache.
Compare the KEXTs in these two kernelcaches.
Install
macOS
The maintainer's Homebrew tap includes the extras build:
brew install blacktop/tap/ipsw
The Homebrew core formula is also available: brew install ipsw.
Linux
sudo snap install ipsw
Windows
scoop bucket add blacktop https://github.com/blacktop/scoop-bucket.git
scoop install blacktop/ipsw
You can also download binaries from GitHub Releases. See the installation guide for other packages and optional dependencies. Some commands depend on the host OS or build variant; Frida support, for example, has a separate build.
What you can do
| Area | Tools |
|---|
| Firmware | Download IPSWs, OTAs, macOS installers, Xcode, and KDKs; extract components and compare builds |
| Mach-O | Inspect load commands, symbols, signatures, and entitlements; disassemble ARM64 code |
| dyld shared caches | Find symbols and cross-references, extract dylibs, dump Objective-C headers, and inspect Swift metadata |
| Kernel | Extract KEXTs, inspect syscalls and symbols, and compare kernelcaches |
| Firmware components | Parse IMG4, decrypt AEA archives, and inspect iBoot and coprocessor firmware |
| Devices | List devices and apps, transfer files with AFC, capture logs, and mount developer images |
| App Store Connect | Manage certificates, bundle IDs, devices, and provisioning profiles |
| Research | Symbolicate crash logs, debug over SSH, trace with Frida, and decompile with an LLM |
CLI examples
Replace the example file paths with your own. Run ipsw --help or add --help to any subcommand for its options.
Download and extract firmware
# Download the latest IPSW for iPhone 15 Pro
ipsw download ipsw --device iPhone16,1 --latest
# Inspect a local IPSW and extract its kernelcache
ipsw info /path/to/firmware.ipsw
ipsw extract --kernel /path/to/firmware.ipsw
# Compare two firmware builds
ipsw diff /path/to/old.ipsw /path/to/new.ipsw
Explore a dyld shared cache