Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以install packages on the fly从命令行启用该选项,即不与 npm gui 交互?
install packages on the fly
这对于在 CI 服务(如 appveyor)上设置 miktex 很有用。
[MPM]AutoInstall您可以通过设置值来实现这一点:
[MPM]AutoInstall
initexmf --set-config-value [MPM]AutoInstall=1
1意思是:安装而不询问用户。其他可能的值是:
1
0
2