Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac terminal installer: Error trying to locate volume at /Applications

Tags:

terminal

macos

I'm trying to install a pkg from the terminal. It works as

sudo installer -pkg desktop/test/firefox.pkg -target /

but this sends it to the root folder and I need it to go to the Applications folder.

like image 311
Kristin Canterbury Avatar asked Dec 21 '25 10:12

Kristin Canterbury


1 Answers

When the command used is: "installer -package path/to/package -target / " it installs the package into /Applications by default.

like image 86
Andrew Adkins Avatar answered Dec 24 '25 01:12

Andrew Adkins



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!