mpm — MiKTeX package manager
mpm [option...]
This utility can be run in two modes:
MPM operates on the user installation directory (usually
%LOCALAPPDATA%\Programs\MiKTeX 2.9).
MPM operates on the system-wide installation directory
(usually C:\Program Files\MiKTeX 2.9), assuming that the MiKTeX setup is
shared by all users. MPM must be run with administrator
privileges.
By default, MPM runs in user mode. You can turn on
administrator mode with the --admin option. For
example, if you want to install a package for all users, you invoke
MPM as follows:
>mpm --admin --install=a0poster
--adminRun in administrator mode:
Operate on the system-wide MiKTeX configuration data store.
Install packages for all users.
Using this option requires a shared MiKTeX setup, i.e., MiKTeX must have been set up for all users. The program must be run with administrator privileges.
--helpGive help and exit.
--hhelpThis option is only available on Windows systems: show the manual page in an HTML Help window and exit when the window is closed.
--import=packageImport the specified package from another MiKTeX installation.
The root directory must be specified via
--repository=.dir
--import-allImport all packages from another MiKTeX installation. The
root directory must be specified via
--repository=.dir
--pick-repository-urlPick up a suitable URL from the package repository list and print it.
--quietSuppress all output, except errors.
--repository=locationUse the specified location as the package repository. The location can be either a fully qualified path name (a local package repository) or an URL (a remote package repository).
--repository-release-state=stateSelect the release state of the remote package
repository. The release state is relevant for finding appropriate
package repositories. The release state must be one
of stable or next.
--set-repository=locationStore the location of the default package repository in the MiKTeX configuration data store. The location can be either a fully qualified path name (a local package repository) or an URL (a remote package repository).
--trace[=tracestreams]Enable trace messages.
The tracestreams argument, if specified, is
a comma-separated list of trace stream names (Chapter 9, Trace Streams).
--verboseTurn on verbose output mode.
--versionShow version information and exit.
MIKTEX_REPOSITORYLocation of the default package repository. This can be either a fully qualified path name (a local package repository) or an URL (a remote package repository).
MIKTEX_TRACEComma-separated list of trace stream names (see Chapter 9, Trace Streams). If this variable is set, then MiKTeX programs will write trace messages into the configured log sink.
http_proxyThe proxy server to be used for HTTP.
FTP_PROXYThe proxy server to be used for .
ALL_PROXYThe proxy server to be used, if no protocol-specific proxy is set.
NO_PROXYComma-separated list of host names that should not go through any proxy.