I created a *.pkg installer for a command line tool following this guide: Packaging a daemon for OS X.

After running the installer, and selecting "Install for all users", I can't find where my installed files are.

The installer says the setup will take 57.9MB and the copying section takes quite some seconds, so I assume files are actually being copied and there is not an issue with my installer.

Where did those files go? A find / didn't reveal anything.

1 Answer 1


You can check it from Terminal. Navigate to the folder where You have Your pkg file. Enter this:

mkdir Foo
cd Foo
xar -xf ../NAME_OF_YOUR.pkg
lsbom Bom

This will list files/paths which are included in this pkg.

  • What is Bom supposed to be? $ lsbom Bom can't open Bom: No such file or directory **** Can't open Bom.
    – jviotti
    Feb 27, 2015 at 14:34
  • Is is a flat package? (it's not if You can cd into Your .pkg) Feb 27, 2015 at 14:38
  • I can't cd to the pkg. file says: xar archive - version 1.
    – jviotti
    Feb 27, 2015 at 14:40
  • Can You list the contents of Foo dir after extracting Your pkg (ls -la)? Feb 27, 2015 at 14:42
  • I can. I see Distribution, Resources and my cli.pkg.
    – jviotti
    Feb 27, 2015 at 14:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .