Installing Packages through Recovery Mode

Solution 1:

I haven't tried installing a package from Recovery, so this might not be the entire solution, but I've spotted something for you to try differently:

When you're in recovery, / is the root of the Recovery volume, not your own Mac's volumes. Recovery volumes are read only and you can't install things to that, not that I think you're wanting to anyway.

In recovery, your normal volumes are mounted to folders within /Volumes/. List that folder (ls /Volumes) to see the names of the volumes that are mounted, and choose the correct volume for -target.