Skip to content

Instantly share code, notes, and snippets.

@sseyren
Last active June 17, 2022 08:15
Show Gist options
  • Save sseyren/3fbf06e9f9971d3c0a11521a851a662d to your computer and use it in GitHub Desktop.
Save sseyren/3fbf06e9f9971d3c0a11521a851a662d to your computer and use it in GitHub Desktop.
Install every package on MiKTeX

Install every package:

sudo mpm --verbose --admin --require $(mpm --list-package-names | paste -sd ',' -)

Install everything except source and doc packages:

sudo mpm --verbose --admin --require $(mpm --list-package-names | grep -v __ | paste -sd ',' -)

After these, you may need to rebuild font map files:

sudo miktex --verbose --admin fontmaps configure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment