iMazing CLI

Command Line Interface

Every feature in iMazing, easily scriptable on macOS or Windows. Surely THE most advanced and flexible solution to manage your company's iOS data.

macOS Windows
iOS 14

What is iMazing CLI?

iMazing CLI is the most exhaustive command line interface for advanced interaction with iOS devices and backups. File transfer, data extraction, backup/restore, update iOS and more features are all fully scriptable. The CLI tool is compatible with macOS and Windows, and can be deployed in any environnement easily.


  1. Listing Devices and Managing Pairing
    • List connected devices (including device connected via Wi-Fi)
    • List offline devices (paired)
    • List devices not paired yet
    • Pair/Unpair a device
    • Enable/Disable Wi-Fi connection between the computer and the device (default is enabled)
  2. Accessing Device Info
    • Get device info (IMEI, UDID, Serial etc...)
    • Get device logs and diagnostics
    • Access device console
  3. File System Operations
    • List Files and get file info
    • Remove, rename, create directory
    • Copy files and folders from device to computer and from computer to device
  4. App Management
    • List installed apps and get advanced info
    • Download IPA from app store, install IPA to device, uninstall
    • Backup and restore app data
  5. Advanced iOS Device Management
    • Activate a device
    • Update or reinstall iOS
    • Erase all contents and settings
    • Shutdown and restart
  6. Backup Management
    • Back up a device, restore a backup
    • Extract files from a backup (also if backup is encrypted, if password is known)
    • Edit backup files, inject files in backup
  7. More upon request...

Who is it for?

As a system administrator or developer, you may want to integrate complex interactions with iOS in your application, or automate workflows with batch scripts.

Example Use Case

With iMazing CLI, you can execute commands on multiple devices and script workflows of consecutive actions.

Let's say you want to automate the following workflow:

  1. Erase all data and settings
  2. Update iOS
  3. Restore a backup
  4. Install a specific app
  5. Transfer files to that app's Documents folder
  6. Shutdown the device once the process is done

You could put these commands in a batch script and schedule its execution using a cron task:

imazing --device-erase --udid <device id> --confirm
imazing --device-update-os --udid <device id>
imazing --backup-restore --udid <device id> --backup-path /iOS-Backups/MyBackup
imazing --device-install-app --udid <device id> --source-path /iOS-Apps/MyApp.ipa
imazing --device-fs-copy-to-device --udid <device id> --bundle-id com.MyCompany.MyApp --source-path "/Docs/MyDoc.pdf" --target-path /Documents
imazing --device-shutdown --udid <device id>

Contact us for a quote

Contact us and tell us about your projects and use cases. We'll evaluate whether iMazing CLI is the right tool for you and reply quickly.

Please note that we will not accept all requests. iMazing CLI will be distributed to selected partners only.

What can iMazing do?