5

Sometimes I install a formula with Brew, and I get a series of warnings and notifications. At some point later, I want to go back and read what problems the installation found.

Does brew automatically keep track of these installation logs? If not, is there any way I could instruct it (perhaps with a parameter) to always record the installation log on a file?

5

Logs are stored in ~/Library/Logs/Homebrew.
You can browse this in Finder or using Console.app.


If you want to save your own log of an install, you can use…

brew install <formula> 2>&1 | tee install.log

Source: https://github.com/Homebrew/homebrew/issues/10430

  • You might want to update path: It is now ~/Library/Logs/Homebrew. – sashk Sep 29 '17 at 13:24
  • @sashk Thanks for the update! You're welcome to submit your own edits to make changes like that – grg Sep 29 '17 at 16:38

You must log in to answer this question.

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