Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do you fix this?

$ brew doctor
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built.

share|improve this question
For future users -> this is automated script – jeet.chanchawat Mar 13 at 5:52
up vote 13 down vote accepted

Like this, for each unlinked keg:

brew link imagemagick
share|improve this answer
What if I have removed those 'kegs' previously? Why are they still there? I don't want to 'link' them again, I want to get rid of them. – Peter Štibraný Jan 8 '13 at 21:30
brew cleanup will get rid of unused stuff – Adam Nelson Oct 25 '13 at 9:25
brew link --overwrite imagemagick

repeat it for each and it will solve the issue

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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