#!/bin/sh # Configure homebrew permissions to allow multiple users to call 'brew'. # Any user from the staff group will be able to manage the homebrew and cask installation on the machine. # in newer macOS version (>= HighSierra ?), changing perms on /usr/local itself is rejected sudo chgrp -R staff /usr/local/* sudo chmod -R g+w /usr/local/*