Skip to main content

Just in case it's needed; if you want to installer a .pkg without root access:

installer -pkg myapp.pkg -target CurrentUserHomeDirectory~

will install the package in ~/Applications.

Just in case it's needed; if you want to installer a .pkg without root access:

installer -pkg myapp.pkg -target CurrentUserHomeDirectory

will install the package in ~/Applications.

Just in case it's needed; if you want to installer a .pkg without root access:

installer -pkg myapp.pkg -target ~

will install the package in ~/Applications.

Source Link
RCross
  • 622
  • 6
  • 9

Just in case it's needed; if you want to installer a .pkg without root access:

installer -pkg myapp.pkg -target CurrentUserHomeDirectory

will install the package in ~/Applications.