Install Brew for Multiple Users

MacOS Mojave

Image for post
Image for post
Open System Preferences and select Users & Groups. Unlock this screen and press the lower left +. Select the account type Group and name it brew. After creating this group add users.

Change group of installation directory to “brew”

sudo chgrp -R brew $(brew --prefix)/*

Give “brew” group write access

sudo chmod -R g+w $(brew --prefix)/*

engineer, hacker, early-adopter https://github.com/energee https://energ.ee

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store