Name

miktex-packages — manage MiKTeX packages

Synopsis

miktex [common-option...] packages command [command-option-or-parameter...]

Description

Commands for managing MiKTeX packages.

Commands

check-update [--repository url-or-directory]

Check for MiKTeX package updates. The exit code will be 100, when package updates are available.

check-upgrade [--repository url-or-directory] package-level

Check for a MiKTeX upgrade. The exit code will be 100, when an upgrade is available.

info [--template template] package-id

Show information about MiKTeX packages.

template controls the output of each record. It can contain the following placeholders:

{archiveFileSize}, {copyrightOwner}, {copyrightYear}, {creator}, {ctanPath}, {description}, {digest}, {displayName}, {docFiles}, {id}, {isContained}, {isContainer}, {isInstalled}, {isInstalledCommon}, {isInstalledUser}, {isObsolete}, {isPureContainer}, {isRemovable}, {licenseType}, {minTargetSystemVersion}, {numFiles}, {refCount}, {releaseState}, {requiredBy}, {requiredPackages}, {runFiles}, {size}, {sizeDocFiles}, {sizeRunFiles}, {sizeSourceFiles}, {sourceFiles}, {targetSystem}, {timeInstalled}, {timeInstalledCommon}, {timeInstalledUser}, {timePackaged}, {title}, {version}, {versionDate}

install [--package-id-file file] [--repository url-or-directory] package-id...

Install MiKTeX packages.

list [--template template]

List MiKTeX packages.

template controls the output of each record. See the info command, for a list of possible placeholders.

remove [--package-id-file file] package-id...

Remove installed MiKTeX packages.

update [--package-id-file file] [--repository url-or-directory] [package-id...]

Update MiKTeX packages.

update-package-database [--repository url-or-directory]

Update the MiKTeX package database.

upgrade [--repository url-or-directory] package-level

Upgrade MiKTeX to the specified level.

verify [--package-id-file=file] [package-id...]

Verify the integrity of installed MiKTeX packages.

See also

miktex(1)