Installing a Package
This topic provides information on the install command.
Syntax
Command for installing a package:
apm install <package name> -pw <password>
Alternatively, you can install the package from downloaded file:
apm install --from-file <path to the package archive or directory> -pw <password>
-u user/department
If you want to avoid installing dependent packages, set the flag to ignore package dependencies.
The password is never read from login_dat.xml
. You must use the parameter -pw <password>
.
Multiple packages can be installed by leaving a blank space between the names.
Example
Example for installing a package:
apm install PCK.AUTOMIC_TOMCAT -pw aepwd
apm install --from-file C:\Package.Bond_PCK.AUTOMIC_BOND_1_0_0+build.164.zip -pw aepwd -u ADM/ADMINISTRATORS
Example for installing multiple packages:
apm install PCK.AUTOMIC_HTTP PCK.AUTOMIC_FTP -H automicdev -S AUTOMIC -p 1234 -c 123 -u AUTOMIC/AUTOMIC -pw aepwd
Be aware that the installation of a Package may be restricted to a reduced number of clients. You can use the option "-c <number>"
to change the target client of the installation or enter the following command to bypass the client check: --ignore-client-restriction
.