--force.brew update-reset && brew update and retried my command.brew doctor, fixed as many issues as possible and retried my command.After installing mactex, it installs all the binaries in /Library/TeX/texbin and none of those binaries are softlinked to /usr/local/bin and the path is not added to the global path.
This command did not fail but it failed to update my global path or failed to softlink the binaries to /usr/local/bin
brew cask install mactex
--force --verbose --debugN/A
brew cask doctorN/A
brew tapN/A
@nitrocode FMU the cask simply runs the .pkg provided by MacTeX. We don't select where the .pkg installation puts the files.
Can't we create bin symlinks to each binary?
We don't select where the .pkg installation puts the files.
@nitrocode Usually we don't modify what is intended by the .pkg installer.
Why can't we?
If we cannot do symlinks then we could at least put additional information after the installation to tell the user to update their $PATH variable. I'd prefer if it was automatic but if not, a message would suffice.
@nitrocode the MacTex installer should automatically update your PATH:

and the Cask should definitely not modify this in any way.
If the MacTex installer is not working correctly for you, you should report it to MacTex support.
Why can't we?
It's not what we do. We try to be unopinionated in these type of things.
Most helpful comment
@nitrocode the MacTex installer should automatically update your PATH:
and the Cask should definitely not modify this in any way.
If the MacTex installer is not working correctly for you, you should report it to MacTex support.