functioninstallPackage

Installs a package.

Information

Installs the package with the best matching version (or only the specified version if exactMatch is given). To update the index, call updatePackageIndex().

Inputs

TypeNameDefaultDescription
TypeNamepkg
Stringversion""
BooleanexactMatchfalse

Outputs

TypeNameDefaultDescription
Booleanresult