mpm 1 &PACKAGE_NAME; &miktexrev; User Commands
mpm &MiKTeX; package manager
&mpm; option

## Description

&MPM; starts in windowed mode, if you do not specify any command-line options.

## User mode vs. administrator mode

This utility can be run in two modes:

User mode (default)

  &MPM; operates on the user installation directory (usually &userinstalldir;).

Administrator mode

  &MPM; operates on the system-wide installation directory (usually &commoninstalldir;), 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:

    &prompt;mpm --admin --install=a0poster

## Options

`--import=package`

  Import the specified package from another &MiKTeX; installation. The root directory must be specified via `--repository=dir`.

--import=package
`--import-all`

  Import all packages from another &MiKTeX; installation. The root directory must be specified via `--repository=dir`.

--import-all
`--pick-repository-url`

  Pick up a suitable &URL; from the package repository list and print it.

`--repository=location`

  Use 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=state`

  Select 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=location`

  Store 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).

--set-repository=location
`--verbose`

  Turn on verbose output mode.

--verbose

## Environment

`http_proxy`

  The proxy server to be used for &HTTP;.

`FTP_PROXY`

  The proxy server to be used for &FTP;.

`ALL_PROXY`

  The proxy server to be used, if no protocol-specific proxy is set.

`NO_PROXY`

  Comma-separated list of host names that should not go through any proxy.

## See also

- miktex 1