Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brew not in path #73

Open
werebus opened this issue Nov 26, 2024 · 4 comments · May be fixed by #81
Open

brew not in path #73

werebus opened this issue Nov 26, 2024 · 4 comments · May be fixed by #81

Comments

@werebus
Copy link
Member

werebus commented Nov 26, 2024

@alocke8181 encountered /opt/homebrew/bin not being in their path after strapping.

I don't remember that being a thing we had to work-around in the past, but maybe... (I only have access to an "Intel" Mac for testing, so it might be an Apple Silicon problem only)

@frothedoatmilk
Copy link

VirtualBox here I come...

@frothedoatmilk
Copy link

Confirmed. Fresh install of 14.6 in a UTM virtual machine did not have brew accessible by path, but homebrew did get installed. Just need to add in the recommended path export to .zshrc!

@frothedoatmilk
Copy link

Does this issue not occur on Intel machines? Seems like a strange regression if so

@werebus
Copy link
Member Author

werebus commented Dec 5, 2024

Homebrew installs itself in /usr/local/ on Intel Macs, and /usr/local/bin is already in the $PATH. Homebrew does(did) this because it made brew just work.

On Apple Silicon Macs, Homebrew does not install in /usr/local, but to /opt/homebrew instead - they do this in order to allow it to coexist with a Rosetta 2 version.

I don't really know that this is a regression, per se. It's the sort of thing that's pretty easy to fix, so folks may have just been... Googling it, asking another dev, etc. And, FWIW, when you install Homebrew the "normal" way, it also doesn't add it to your path, but it does tell you how to do it.

@frothedoatmilk frothedoatmilk linked a pull request Dec 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants