Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

1 Answer 1

up vote 7 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

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.