I'm having a lot of trouble updating LaTeX on my Mac. I have never done this, but I do have the 2016 version of LaTeX, so I think I only need to update the packages. I read that the tlmgr package using "tlmgr update --all" would be the update I need. However, LaTeX keeps asking me for a file.

What I wrote is LaTeX is:



tlmgr update --all


Thank you!

  • 1
    tlmgr is a command not a latex package, you need to type the command on the commandline (terminal) not put it in a latex file. But I thought theat mactex had some kind of gui front end Commented May 3, 2017 at 15:49
  • If you have the application "TeX Live Utility.app", you can use this to update Commented May 3, 2017 at 15:53
  • 3
    the premise of this question is oddly amusing
    – thymaro
    Commented Apr 23, 2018 at 7:22
  • What is the thing you are trying to compile? Commented Dec 17, 2021 at 8:36

2 Answers 2


tlmgr is not a tex package — it’s a program, distributed with TeXLive. So to run it, you don’t load it in a TeX document. Instead, open the Terminal (on Mac OS, go to the Applications folder, and then inside that the Utilities folder, and the Terminal should be in there); and then in the Terminal’s window, type the tlmgr command you want, e.g.

tlmgr update --all

and then hit Enter/Return to tell the Terminal to run the command.

  • 1
    On Mac you need to run tlmgr using sudo as latex is owned by root. It also a good idea to use the --self option, then tlmgr will also be updated if there are any updates for it.
    – daleif
    Commented May 3, 2017 at 15:56

You have the MacOS version: TeX Live Utility, a graphical interface which can be put in the dock.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .