# 使用 Homebrew, MacPorts, Nix, scoop 安装 ipatool

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

## 安装

```sh
sudo av install brew:ipatool
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ipatool
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ipatool
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ipatool
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/ipatool
```

  证据: Scoop official bucket manifest trees: bucket/ipatool.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:ipatool
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ipatool>
- **版本:** 2.3.1
- **来源摘要:** CLI tool for searching and downloading app packages from the iOS App Store
- **主页:** <https://github.com/majd/ipatool>
- **仓库:** <https://github.com/majd/ipatool>
- **上游文档:** <https://github.com/majd/ipatool#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/majd/ipatool/archive/refs/tags/v2.3.1.tar.gz>
- **最后更新:** 2026-07-05T23:53:13Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- ipatool (cli)
- ipatool (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.3.1
- 管理器更新时间: 2026-07-05
- 本地数据: OK
- 上游仓库: https://github.com/majd/ipatool
- 检测到的最新版本: v2.3.1 (当前)
## 项目历史与用法

ipatool is Majd Alfhaily's command-line tool for searching the iOS App Store and downloading IPA app packages. It became a prominent package-manager item because it exposes App Store package retrieval as scriptable CLI commands instead of a GUI-only workflow.

### 项目历史

The project reached a v1.0.0 release in May 2021 as a CLI for searching and downloading iOS App Store packages. Its README defines the core workflow around App Store authentication, search, purchase/license acquisition, and download commands.

The 2.x line broadened the tool's practical scope. Release notes show fixes for Apple-side authentication changes, support for downloading by app ID, restoration of purchase behavior, older-version download support through external version IDs, and dynamic auth endpoint handling.

### 采用历史

ipatool's adoption is unusually high for this batch: the GitHub repository has thousands of stars and packaging across Homebrew, MacPorts, Nix, and Scoop in the supplied package metadata. The project also ships binaries for several operating systems through GitHub releases.

Its popularity tracks a real gap in Apple's ecosystem: developers, archivists, testers, and power users often need reproducible IPA acquisition for apps their Apple ID can access, while Apple's official tooling is tied to graphical or platform-specific flows.

### 使用方式

Users authenticate with `ipatool auth`, search App Store listings with `ipatool search`, obtain a license with `ipatool purchase`, and download packages with `ipatool download`. The README documents text and JSON output modes, non-interactive operation, and platform selection for search.

The wiki FAQ documents an important limitation for Apple Silicon Mac sideloading: Apple stopped serving macOS-compatible sinf data for app packages, so users may still retrieve an iOS app package but need other device-side or signing steps for some workflows.

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

ipatool is package-nerd catnip because it packages a cloudy, account-bound store protocol behind a familiar CLI surface. Its value is not just the binary: it encodes App Store endpoint behavior, storefront metadata, authentication, and download workflows that can break when Apple changes server behavior.

The formula's significance is also operational. A one-command install makes ipatool usable in scripts, CI experiments, archival workflows, and repeatable troubleshooting without asking each user to build a Go project.

### 时间线

- 2021-05-22: v1.0.0 marked the initial public release.
- 2021-06-08: v1.0.4 added iTunes Store region selection.
- 2022-12-08: The GitHub wiki home page was edited with FAQ navigation.
- 2025-01-21: v2.1.5 added downloading by app ID and fixed authentication affecting search and download.
- 2025-02-10: v2.1.6 fixed the purchase command after Apple-side API changes.
- 2025-06-10: v2.2.0 added older-version download support with external version IDs.
- 2026-02-16: v2.3.0 resolved auth endpoint selection dynamically and added resumable incomplete downloads.

### Related projects

- Related workflows include Apple's App Store services, IPA signing and sideloading tools, device-management tooling, and package archives. ipatool is distinct from patchers such as ipapatch because it obtains app packages rather than modifying them.
- Its package ecosystem spans Homebrew, MacPorts, Nix, and Scoop, which makes it a cross-platform CLI rather than a macOS-only helper.

### 来源

- <https://formulae.brew.sh/formula/ipatool>
- <https://github.com/majd/ipatool>
- <https://github.com/majd/ipatool/releases>
- <https://github.com/majd/ipatool/wiki>
- <https://github.com/majd/ipatool/wiki/FAQ/bfd186ac64f70d71f9af563279282fa2b58a4ecc>


## 安全说明

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

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ipatool
- **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 - ipatool: normalized package name match | nixpkgs package indexes: pkgs/by-name/ip/ipatool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - ipatool: normalized package name match | MacPorts ports tree: sysutils/ipatool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/ipatool: normalized package name match | Scoop official bucket manifest trees: bucket/ipatool.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [ipapatch](https://www.automicvault.com/zh-hans/pkg/brew/ipapatch/) - Shares av.db curated category or tags: cli, developer-tools, ios, ipa, mobile-development.
- [ios-deploy](https://www.automicvault.com/zh-hans/pkg/brew/ios-deploy/) - Shares av.db curated category or tags: cli, developer-tools, ios, mobile-development.
- [ios-sim](https://www.automicvault.com/zh-hans/pkg/brew/ios-sim/) - Shares av.db curated category or tags: cli, developer-tools, ios, mobile-development.
- [react-native-cli](https://www.automicvault.com/zh-hans/pkg/brew/react-native-cli/) - Shares av.db curated category or tags: cli, developer-tools, ios, mobile-development.
- [rswift](https://www.automicvault.com/zh-hans/pkg/brew/rswift/) - Shares av.db curated category or tags: cli, developer-tools, ios, mobile-development.
- [cyan](https://www.automicvault.com/zh-hans/pkg/brew/cyan/) - Shares av.db curated category or tags: cli, developer-tools, ios, ipa.
- [kdoctor](https://www.automicvault.com/zh-hans/pkg/brew/kdoctor/) - Shares av.db curated category or tags: cli, developer-tools, mobile-development.
- [skip](https://www.automicvault.com/zh-hans/pkg/brew/skip/) - Shares av.db curated category or tags: cli, developer-tools, mobile-development.

## Combined YAML source

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


## 来源

- 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
