Is it possible to enable the option install packages on the fly
from the command line, i.e. without interacting with the npm gui?
This would be useful for setting up miktex on CI services such as appveyor.
sty file with MiKTeX as follows: Navigate to the folder where LaTeX packages get installed. If you accepted the default location when you installed MiKTeX, this folder is probably C:\Program Files\MiKTeX 2.9\tex\latex. (If you have an older MiKTeX installation, this folder is probably C:\texmf\tex\latex.)
MiKTeX Console is a desktop application, i.e, it can be started in the usual way by searching and clicking MiKTeX Console in the application launcher (Windows start menu, Unity Dash, macOS Launchpad).
You can achieve this by setting the [MPM]AutoInstall
value:
initexmf --set-config-value [MPM]AutoInstall=1
1
means: install without asking the user. Other possiblie values are:
0
: turn off automatic installation2
: ask the userIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With