Quick and Dirty Complete Install
At home.
Download the latest standalone setup from miktexsetup-*.zip and extract it on your flash drive, say D:
drive.
The download packages on your USB flash drive in D:\latexpacks
with:
D:\miktexsetup_standalone.exe --verbose --local-package-repository=D:\latexpacks --package-set=complete download
At the office. Install from your local repo with:
D:\miktexsetup_standalone.exe --verbose --local-package-repository=D:\latexpacks --package-set=complete install
Smaller Setups
The complete installation is huge, so you can replace essential
or basic
in the --package-set=complete
argument above.
At this point you might need a package, which is not in the essential or basic set, but still you do not want to download the complete set. Head on CTAN repository and manually download the individual package/s to your USB D:\latexpacks
at home. Once at the office, use the MiKTeX mpm.exe
utility (should be already in your PATH) to install your package list (say a0poster and a4wide packages):
mpm.exe --repository=D:\latexpacks --install=a0poster,a4wide
Notes be aware of the --admin
switch and other option for both mpm and miktexsetup_standalone utilities.
Portable MiKTeX
The Portable Edition could be what you are looking for. A distro that can run straight from your USB stick. Of course, because its folder is portable, nothing prevents you to move it on your desktop for extra speed and back on the stick when home updates are needed.