.PKG file extension

To open .PKG files on Windows, if your goal is to install software, move the .pkg to a Mac—Windows typically cannot run macOS installer packages.

To open a .PKG file, use macOS Installer by double-clicking it (or right-click > Open). If you’re on Windows or Linux, you usually can’t run it as an installer—treat it as an Apple installer package and, if needed, extract it with an XAR-capable tool to inspect its contents.

Last updated: June 10, 2026 · Reviewed by Julian Stricker

What “reviewed” means on this page
  • Format fit: whether the “what is this file?” description matches common real-world use of the extension, including category, typical MIME types, and aliases.
  • Opening paths: whether Windows / macOS / Linux steps read plausibly for current OS dialogs and default apps; we remove fantasy menus and unsafe shortcuts.
  • Security framing: whether risk notes match the extension class (for example executables vs plain data) and whether affiliate wording does not contradict the security section.
  • Sources and further reading: whether external links point to vendors, standards bodies, or other primary references where possible; we avoid inventing details we cannot ground.
  • Limits: this is clarity and safety-messaging QA, not a guarantee that every statement is exhaustive or that every binary you download is harmless.

Full methodology in the Imprint The Imprint also states where AI is used and what that does—and does not—replace.

Open on your device

Choose your operating system for a dedicated step-by-step opening guide.

How to open .PKG files

Use these platform-specific instructions to open .PKG files safely.

Windows

  1. If your goal is to install software, move the .pkg to a Mac—Windows typically cannot run macOS installer packages.
  2. If you only need to inspect contents, try extracting it with an XAR-capable archive tool (many macOS .pkg files are XAR archives).
Full Windows guide

Mac

  1. Double-click the .pkg file to open it in the macOS Installer.
  2. If macOS warns about security or developer identity, confirm you trust the source before proceeding.
Full Mac guide

Linux

  1. If you need to install it, transfer the .pkg to macOS—Linux generally can’t run macOS Installer packages.
  2. To inspect what’s inside, try extracting it with an XAR-capable tool (many macOS .pkg files are XAR archives).
Full Linux guide

iOS

  1. iOS/iPadOS does not install macOS .pkg packages; save the file and open it on a Mac (or use it only as a managed deployment artifact via your organization’s tooling).
Full iOS guide

Android

  1. Android does not install macOS .pkg packages; transfer the file to a Mac to open it with Installer, or use a desktop system to inspect it as an archive if needed.
Full Android guide

Security notes

  • .pkg files are installer packages and can run install-time actions; only install packages from trusted vendors or administrators.
  • Before installing, consider inspecting the package contents (many macOS .pkg files are XAR archives) if you need to understand what will be installed.
  • Be especially cautious with unexpected .pkg files received via email/chat links, since an installer can modify system locations when run on macOS.

What can hide inside an archive

Compressed packages can contain executables or scripts you only see after extraction. Double extensions and nested archives are common tricks. Scan unexpected downloads before unpacking, and extract to an empty folder so you can review contents safely.

We may earn a commission when you use affiliate links. This supports our free file extension guides.

Can't open this file?

These are the most common causes and fixes when .PKG files fail to open.

Common reasons

  • The .PKG won’t open or install on Windows/Linux
  • macOS shows a warning or blocks the installer
  • The package seems corrupted or fails mid-install
  • You expected an app but got a .PKG

Fix steps

  1. Open the .pkg on macOS using Installer (preferred for actual installation).
  2. If you only need to inspect contents, extract it using an XAR-capable tool because many macOS .pkg files are XAR archives.

What is a .PKG file?

.PKG is widely used for macOS software installer packages. Many macOS .pkg installer packages are XAR (eXtensible ARchiver) archives internally, containing installation payloads and metadata. The associated media type is commonly listed as application/vnd.apple.installer+xml for Apple installer-related packages.

Background

.PKG is best known as the installer package format used on macOS to distribute software, drivers, and organization-managed installation packages. Apple’s device management documentation also refers to deploying a “package (.pkg) file to install,” reflecting its common use in managed deployments.

Technically, many macOS .pkg files are XAR archives, which means the file can often be inspected like an archive (for example, to view bundled scripts, payloads, or metadata) using appropriate tools. This is useful for troubleshooting or verifying what a package contains before installing.

Because “.pkg” has been used in other contexts historically, it can be ambiguous in the abstract. In everyday consumer and enterprise workflows, however, the most common and practical meaning is the macOS installer package; this guide focuses on that.

Common MIME types: application/vnd.apple.installer+xml

Further reading

Authoritative resources for more details on the .PKG format.

Common .PKG issues

The .PKG won’t open or install on Windows/Linux

Most .pkg files are macOS installer packages and aren’t executable installers on Windows or Linux.

  1. Open the .pkg on macOS using Installer (preferred for actual installation).
  2. If you only need to inspect contents, extract it using an XAR-capable tool because many macOS .pkg files are XAR archives.

macOS shows a warning or blocks the installer

macOS may warn about packages from unidentified developers or downloaded packages that require user confirmation.

  1. Verify you obtained the .pkg from the intended vendor or administrator before proceeding.
  2. If you are in a managed environment, confirm with IT whether the package is expected and approved.

The package seems corrupted or fails mid-install

An incomplete download or transfer can break the package structure and cause Installer to fail.

  1. Re-download or re-transfer the .pkg from the original source and try again.
  2. If possible, compare file size/checksums provided by the source to confirm integrity.

You expected an app but got a .PKG

On macOS, apps are often distributed as .pkg installers rather than a single .app bundle; the installer places files into system locations.

  1. Run the .pkg with macOS Installer to install the app properly.
  2. After installation, look for the app in Applications (or the location specified by the installer).

FAQ

What program opens a .PKG file on a Mac?

macOS typically opens .pkg files with the built-in Installer application when you double-click the file.

Can I open or install a macOS .PKG on Windows?

Generally no—Windows doesn’t run macOS installer packages. If you only need to see what’s inside, you may be able to extract it as an XAR archive, since many macOS .pkg files use XAR internally.

Is a .PKG file just a ZIP or regular archive?

Not exactly. Many macOS .pkg files are XAR archives (not ZIP), bundled with installer metadata and payloads intended for macOS Installer.

What MIME type is associated with .PKG installer packages?

A commonly associated media type is application/vnd.apple.installer+xml, which is listed in the IANA media types registry and is often associated with .pkg and .mpkg.

Similar file extensions

Compare related formats in the same category to find the right tool faster.