Install Brew for Multiple Users
MacOS Mojave

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)
/*
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)
/*