Hacker News new | ask | show | jobs
by lunixbochs 2116 days ago
You can transparently run homebrew as a dedicated user, prevent it from accessing your home directory, and only give /usr/local permissions to that user.

https://github.com/lunixbochs/meta/tree/master/utils/brew_al...

I have been doing this for years. The only thing it breaks for me is casks that try to install applications, and I don't mind.