Skip to content

Can't install for multiple users #1762

Discussion options

You must be logged in to vote

Create a third admin user (e.g. homebrew), then:

sudo chown -R homebrew:admin /usr/local/*

Then all further write operations (i.e. install, update, upgrade, etc.) should be done by everyone else as that user, by the power of su or sudo, depending on your preference:

su - homebrew brew update

In this respect, there's only one difference between Homebrew and a system package manager: the former lets you decide which user to grant ownerships to, while the latter fixes it as root.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@pokidyshev
Comment options

@gromgit
Comment options

@pokidyshev
Comment options

@dijonkitchen
Comment options

Answer selected by pokidyshev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants