How do you start a pkg from command line?
Use open, the command-line equivalent of double-clicking a file.
open
Please try this:
sudo installer -pkg ~/yourdirectory/packagename.pkg -target ~/Applications/
OR
installer -pkg ~/yourdirectory/packagename.pkg -target ~/Applications/
Using the following line in sudoers to skip password:
jinith ALL=(ALL) NOPASSWD: ALL
Copyright © 2021 Jogjafile Inc.
Use
open
, the command-line equivalent of double-clicking a file.