Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do you handle brew? It makes all the /usr/local/bin stuff belong to the regular user which installed it. Other users had trouble working with brew-installed stuff, last time I tried a few years ago.


You can install brew in your home directory using the Untar Anywhere approach. I’m particular sceptical of how brew handles permissions, so I always install it to ~/homebrew. One thing to note, if you use this approach Homebrew will not use its precompiled binaries and build everything from source.

https://docs.brew.sh/Installation#untar-anywhere


Use Nix instead.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: