How does one "move HOMEBREW_CELLAR to /usr/local/Cellar" ? #3316
Replies: 6 comments 21 replies
-
How did you install homebrew? Because this sounds like a tarbal install gone wrong. Additionally, please post when you actually get this warning. |
Beta Was this translation helpful? Give feedback.
-
If you installed Homebrew in the default location, i.e What is the output of the following:
|
Beta Was this translation helpful? Give feedback.
-
Hello @gangofnuns, I had the same problem as you. Even after the uninstall/install dance, the problem persisted. I looked in the
After doing this, I came on to a bump:
To fix this: This is typically the go-to solution to all sorts of mayhem that moving the cellar like this will cause. I also had a problem with So far, it seems to hold up as expected. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am quite desperate too and I would love some help with this issue. I have a MacBook Pro M3, Sonoma 14.3.1. When I run
and it's right to say that it can't find anything there, because the Cellar is actually in When I run the
and
The path looks ok but then it searches in the wrong place... Would anyone know how to fix, or move ahead, with this? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
Like IRL doctors, What's the full output of |
Beta Was this translation helpful? Give feedback.
-
It happened me as well, I have some bad symbolic link:
after removing it everything worked as expected |
Beta Was this translation helpful? Give feedback.
-
TL;DR
How does one: "move your HOMEBREW_CELLAR" ?
How does one prevent packages from being installed under /usr/local/Homebrew/Cellar ?
Full explanation
I feel silly asking such a simple question in front of an already busy forum,
but I'm pretty confused at this point. I've read lots of posts about M1 Macs,
Intel vs Apple Silicon hardware, people reinstalling homebrew packages from
location to location.
There are too many scenarios for me to understand easily which recipe applies
to my situation. I wish there were a procedural roadmap somewhere --
(Maybe I can make one to help others?). Please enlighten me if the solution
is simple, and I just cannot pinpoint the answer through all the search
engine noise about different platforms.
Facts:
I am on an Intel Mac. Big Sur. Latest patch: 11.6.5
Most of my packages are Casks installed under /usr/local/Cellar.
I continually get the following WARNING message:
Warning: your HOMEBREW_PREFIX is set to /usr/local but HOMEBREW_CELLAR is set
to /usr/local/Homebrew/Cellar. Your current HOMEBREW_CELLAR location will stop
you being able to use all the binary packages (bottles) Homebrew provides. We
recommend you move your HOMEBREW_CELLAR to /usr/local/Cellar which will get you
access to all bottles."
I must be misunderstanding the intent of this message, because there appears to
be no way to do what the WARNING suggests.
I've tried uninstalling all my Casks from /usr/local/Homebrew/Cellar, and
into /usr/local/Cellar a few times using methods suggested on StackOverflow,
with only temporary success. I'm able to reinstall packages, but the
WARNING above just returns again the next time I install something. I've tried
updating brew. I've tried the 'brew update-reset' command. The WARNINGs just return.
Question: How does one do the following?
"[...] move your HOMEBREW_CELLAR to /usr/local/Cellar which will
get you access to all bottles."
I understand the part about getting access to all bottles. Right now, packages
are being forced to recompile from scratch with every install, which works, but
is impractically slow.
How do you "move your HOMEBREW_CELLAR" ? How does one stop packages
from being installed under /usr/local/Homebrew/Cellar by default? I've searched
through the FAQ, but I still feel like I am missing something obvious.
Beta Was this translation helpful? Give feedback.
All reactions