Mac OS X, Mac OS X Server Mac OS X: Using the Command Line to Install a pkg July 14, 2007 To use the command line to install a package, use the following command: installer -pkg ./<package name> -target/