3

I'm kinda just starting with OS X and Homebrew, yet I find it very useful. However I have one problem: is there a way to make Homebrew automatically create a symlink to the directory of the latest version of a formula? For example, after installing gradle we have

/usr/local/Cellar/gradle/1.6

and it would be very handy (for external configurations) to have also something like

/usr/local/Cellar/gradle/current

(helps with avoiding reconfiguration after formula was updated).

migrated from stackoverflow.com May 10 '13 at 13:42

This question came from our site for professional and enthusiast programmers.

10

This used to be in another place, but now you will find the current versions symlinked here:

/usr/local/var/homebrew/linked/
  • Updated answer, see also the post below. – slhck Feb 27 '17 at 17:08
2

The current accepted answer is outdated. For me:

$ brew --version
Homebrew 1.1.9

The current formula directories are symlinked in:

/usr/local/var/homebrew/linked/

  • I fixed my answer. You could have also left me a comment – or even proposed your edit – and I would have updated it. This way I didn't even notice it was wrong or outdated. – slhck Feb 27 '17 at 19:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.