I have a .mpkg file that I want to execute from the terminal. I successfully used this command to achieve this
sudo installer -pkg Snip.mpkg -target / Applications
But the fact is that when I run this command, I ask me for the administrator password before completing the installation. Is there a way that I can do this without a password, or can I provide a password also in my sudo installer command ...
Also see: - Running .pkg on MAC OS from java code
answer
early
macos
Jinith
source share