Reference

PKG (installer)

A PKG file is a macOS installer package. It bundles an app or system component plus scripts that copy files into place and configure them, so double-clicking runs a guided installer rather than just dragging an app to Applications.

Files & formatsmacOS

PKG (installer)

Also known as: PKG file, .pkg installer, macOS installer package

A PKG file is a macOS installer package. It bundles an app or system component plus scripts that copy files into place and configure them, so double-clicking runs a guided installer rather than just dragging an app to Applications.

  • macOS installer package with scripts
  • Can place files system-wide and request admin rights
  • Only install PKGs from trusted sources

Installer, not just a copy

Many Mac apps install by dragging a .app into Applications. A .pkg is the alternative: a packaged installer that can place files in multiple locations, run pre- and post-install scripts, and require admin permission.

Software that needs system-level setup — drivers, command-line tools, system extensions — commonly ships as a PKG.

Working with PKG files

Double-click a PKG to launch the macOS Installer and follow the prompts. Only install PKGs from trusted sources, since they can run scripts with elevated privileges.

Tools like Pacifist or Suspicious Package can inspect a PKG to see exactly what it would install.

Related terms

Keep reading the reference.