Go MIT

ipatool

Command-line tool that allows you to search for iOS, iPadOS, tvOS, visionOS, and macOS apps on the App Store, and download .ipa or macOS .pkg app packages.

M

majd

Dernière activité 19 sept. 2026
majd/ipatool

11,4 k

étoiles

956

forks

20

issues ouvertes

appleappstoreclicommand-linecommand-line-toolgogolanggolang-libraryiosipaitunesmacosresearchreverse-engineeringsecurityswifttoolvisionos

Ce README est souvent en anglais.

Release License Sponsor

ipatool is a command line tool that allows you to search for iOS, iPadOS, tvOS, watchOS, visionOS, and macOS apps on the App Store, and download .ipa or macOS .pkg app packages.

Demo

Requirements

  • A supported operating system (macOS, Linux, Windows or iOS).
  • An Apple Account already configured to use the App Store.

Installation

Linux and Windows

You can grab the latest version of ipatool from GitHub releases.

macOS

You can install ipatool using Homebrew.

$ brew install ipatool

Usage

To get started, run the following command.

$ ipatool --help
A cli tool for interacting with Apple's ipa files

Usage:
  ipatool [command]

Available Commands:
  auth                 Authenticate with the App Store
  completion           Generate the autocompletion script for the specified shell
  download             Download iOS, iPadOS, tvOS, watchOS, visionOS, and macOS app packages from the App Store
  get-version-metadata Retrieves the metadata for a specific version of an app
  help                 Help about any command
  list-purchases       List apps owned by the authenticated App Store account
  list-versions        List the available versions of an App Store app
  mcp                  Serve App Store tools over MCP using stdio
  purchase             Obtain a license for the app from the App Store
  search               Search for iOS, iPadOS, tvOS, watchOS, visionOS, and macOS apps available on the App Store

Flags:
      --format format                sets output format for command; can be 'text', 'json' (default text)
  -h, --help                         help for ipatool
      --keychain-passphrase string   passphrase for unlocking keychain
      --non-interactive              run in non-interactive session
      --verbose                      enables verbose logs
  -v, --version                      version for ipatool

Use "ipatool [command] --help" for more information about a command.

Note: the tool runs in interactive mode by default. Use the --non-interactive flag if running in an automated environment.

MCP tools

Run ipatool auth login in a terminal, then configure your MCP client to launch the stdio server:

{
  "mcpServers": {
    "ipatool": {
      "command": "ipatool",
      "args": ["mcp"]
    }
  }
}

Compiling

The tool can be compiled using the Go toolchain.

$ go build -o ipatool

Unit tests can be executed with the following commands.

$ go generate ./...
$ go test -v ./...

License

ipatool is released under the MIT license.

Projets similaires

Fast, scriptable CLI for the App Store Connect API. Automate TestFlight, builds, submissions, signing, analytics, screenshots, subscriptions, and more

Goapp-store-connectappleautomation
Rrorkai
7,5 k étoiles633

Download, re-sign, and sideload iOS, iPadOS, macOS, tvOS & visionOS apps without Xcode or Terminal — plus an authorized security-testing toolkit (ATS bypass, Frida injection, static scan, FairPlay dump).

Swiftapp-storeappleappstore
Bbahattinkoc
669 étoiles45

Mac App Store command-line interface

Swiftapp-storehomebrewmac-app-store
Mmas-cli
12,4 k étoiles299