Installing packages using command line

evangardner
New Contributor

Hi there, I'm trying to figure out the "sudo jamf install -package" command and I'm having trouble figuring out the syntax. This command can be used for installing packages on the jamf server, not only on the local machine, correct?

1 ACCEPTED SOLUTION

sdagley
Honored Contributor II

@evangardner No, it's for installing packages on the local machine (i.e the one you're running the command on)

View solution in original post

2 REPLIES 2

sdagley
Honored Contributor II

@evangardner No, it's for installing packages on the local machine (i.e the one you're running the command on)

View solution in original post

keopraseuths
New Contributor

If you run:

jamf help install

these are the options for that command. What is the goal you are trying to accomplish? Policies work well for installing .pkgs

jamf help install

Usage:   jamf install -package <filename> -path <path to file> -target <volume>
         [-fut] [-feu] [-showProgress]

     -package        The filename of the package that will be installed.
     -path           The path to the package. This does not include the name of the package.
     -target         The drive that the package will be installed to.
     -fut            The Fill User Templates option takes any user data
                 and populates the files to the user templates so any new
                 user created on the system will have these files.
     -feu            Fill Existing Users option takes any user data and
                 populates the files to every user on the computer that has a
                 home directory.
     -showProgress       Displays the progress of the HTTP download and the progress of the installation process.