3 ms·
I wish homebrew was a little more friendly to installing in a directory other than what the installer sets. I used to have a lot of permissions issues back when
by hk1337 1y ago
I wish homebrew was a little more friendly to installing in a directory other than what the installer sets. I used to have a lot of permissions issues back when /usr/local was the only directory and none since I started installing it in ~/.brew
- runjake 1y agoFor the last 5 years (since Apple Silicon was released), Homebrew has installed to /opt/homebrew by default.
- mort96 1y agoNo, it only does that on Apple Silicon. To this day, if you run the latest Homebrew on an Intel Mac running the latest macOS, it will install to /usr/local.
- runjake 1y agoThe parent indicates in a comment that they use an Apple Silicon Mac[1]. I don't see a lot of engineers running Intel Macs anymore. I haven't seen any engineers who still use an Intel model, myself, and for quite some time. Especially when there are Apple Silicon options for well under $1,000 that highly outperform the Intel models. 1. https://news.ycombinator.com/item?id=43267210 https://news.ycombinator.com/item?id=43267210
- KingMob 1y ago[flagged]
- hk1337 1y agoI don’t want it there either. The install script is defines the install directory without anyway to override it. It sets it to /usr/local or /opt/homebrew depending on the result of uname command. I like it in ~/.brew where I have full permission to it and only my user.
- rgovostes 1y agoAs described on https://docs.brew.sh/Installation#untar-anywhere-unsupported https://docs.brew.sh/Installation#untar-anywhere-unsupported: > Technically, you can just extract (or git clone) Homebrew wherever you want. However, Homebrew maintainers are dickish about essentially banning you from contributing to the project if your installation is nonstandard. They have a similarly discouraging warning if you are running a developer beta, which has turned me off of contributing fixes to broken formulas lest they reject them. > If you decide to use another prefix: don’t open any issues, even if you think they are unrelated to your prefix choice. They will be closed without response.