Is it possible to install a .pkg using a terminal ? (I wanted to install an app through ssh).
Terminal Install – Guide to Installing .pkg with Terminal
installpkgterminal
Related Question
- IPhone – How to download pkg files from iTunes
- MacOS – Repackaging .pkg files without installing/unpacking
- Pkg file extracting instead of installing
- .pkg Installer Verification – Solving Hangs on Verify
- macOS – How to Install Hundreds of PKG Files
- Pkgbuild productbuild requires admin privilege during pkg installation
Best Answer
/usr/sbin/installer
See
man installer
for the full functionality. Oftenis all that's needed. Here
/
is the mount point ofMacintosh HD
volume.-target
accepts path like"/Volumes/Macintosh HD"
, or/dev/disk0
also.