As can be seen: mactex was installed successfully:

==> Installing Cask mactex
==> Running installer for mactex; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.

==> installer: Package name is MacTeX-2017
==> installer: Upgrading at base path /
==> installer: The upgrade was successful.
🍺  mactex was successfully installed!

Where is it however..

21:22:37/hw6 $which tex
21:23:35/hw6 $which mactex
  • 1
    brew cask installs binaries into /usr/local/Caskroom/ . Could you check that? – Mateusz Szlosek Apr 3 '18 at 8:15
  • @MateuszSzlosek Well there's a /usr/local/Caskroom/mactex/20170524/mactex-20170524.pkg .. but there are no binaries anywhere (did a find / -name tex and also find / name mactex ..) – javadba Apr 4 '18 at 4:02
  • Mactex is a graphical application, so probably "MacTeX.app" is located somewhere in /Applications/. And the binary is probably in MacTeX.app/Contents/MacOS/ – Mateusz Szlosek Apr 4 '18 at 5:26
  • oh there's a TeX app .. let's see what's in there.. – javadba Apr 4 '18 at 5:30
  • i'ts TexLive which is something different.. I can't get any joy on Tex it seems – javadba Apr 4 '18 at 5:31

At the time of writing (June 17th, 2018) running:

brew cask install mactex

will install MacTeX-2018 and

which tex


  • doesn't work like that for me. same problem as op. – tesch1 Aug 29 '18 at 13:37
  • 3
    oh, after starting a new shell it's there. – tesch1 Aug 29 '18 at 13:37
  • As of September 2018 it now works (as mentioned in my own answer that had not been the case in April). – javadba Oct 8 '18 at 20:31

In April I had installed/reinstalled multiple times without success.

Bu I reinstalled via brew cask reinstall mactex in Sept 2018 and the issues no longer appeared: mactex worked. Maybe something were resolved in the binaries.

You must log in to answer this question.

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