[Tex/LaTex] Installing all packages in Miktex using command line

miktexmiktex2.9packages

Is there any command to install all packages using the command-line in miktex like

mpm --import-all

except from a online repository like --install-all.Although this doesn't work.

Is there any other command to install all packages using mpm from the command prompt

I need this because my computer will have internet access only once and I want to install all the packages at one go

Best Answer

The easiest way to upgrade your Miktex installation to the highest level is by running

mpm --admin --verbose --package-level=complete --upgrade

This installs all packages at once.