initexmf
| Chapter 6. Programs |

## Name

initexmf — MiKTeX configuration utility

## Synopsis

`initexmf` [`option`...]

## Description

initexmf is used to configure MiKTeX.

## User mode vs. administrative mode

This utility can be run in two modes:

User mode (default)

  Only user related MiKTeX configuration and data files are modified.

Administrative mode

  Only system-wide MiKTeX configuration and data files are modified. The utility should be run as the system administrator.

By default, the utility runs in user mode. You can turn on administrative mode with the `--admin` option. For example, if you want to update the system-wide file name database, you invoke the utility as follows:

    initexmf --admin --update-fndb

## Options

`--admin`

  Run in administrative mode.

`--configure`

  This option is only available on UNIX system-like platforms. Configure MiKTeX:

  - kpsewhich is run to find existing TEXMF trees; the information is written to `/var/lib/miktex-texmf/miktex/config/miktexstartup.ini`, if administrative mode is turned on; otherwise the information is written to `~/.miktex/miktex/config/miktexstartup.ini`

  - the system-wide (per-user) file name database is created, if administrative mode is turned on (off)

`--dump`

  Create all memory dump files.

`--dump=`key``

  Dump the specified memory dump file.

`--edit-config-file=`configfile``

  Open the specified config file in an editor.

`--force`

  Force `--mklinks` to overwrite existing executables.

`--list-modes`

  List all known METAFONT modes.

`--mklinks`

  Create an executable for each known format.

`--mkmaps`

  Build the font map files.

`--print-only`

  Print what would be done. Nothing is changed.

`--quiet`

  Suppress screen output.

`--register-root=`dir``

  Register a TEXMF root directory.

`--report`

  Write a MiKTeX configuration report.

`--unregister-root=`dir``

  Unregister a TEXMF root directory.

`--update-fndb`

  Refresh the whole file name database.

`--update-fndb=`dir``

  Refresh the file name database for a specific TEXMF tree.

`--verbose`

  Print information on what is being done.

`--version`

  Print the version number and exit.

## See also

MiKTeX Project Page

gftodvi |  | mf