0

Is there a terminal command to see the location of libraries I installed with brew install? I know they are in /usr/local, but I would like to see the whole path.

Thanks!

Jovan
  • 9
  • 1
  • 6

1 Answers1

0

You're looking for which. For example:

which brew
# /usr/local/bin/brew

which pod
# /usr/bin/pod
donnywals
  • 7,241
  • 1
  • 19
  • 27
  • Thanks @donnywals but `which` is not exactly what I'm looking. it doesn't work for all libraries I had previously installed. For example, I installed the CImg library but when I type `which CImg`, nothing is returned. Yet, it's located in `/usr/local/Cellar/cimg/1.6.1/include` – Jovan May 08 '15 at 07:07
  • 1
    I found what I was looking for. It was `brew info` – Jovan May 08 '15 at 07:13