Can't install for multiple users #1762
-
Hi! I'm trying to install brew for 2 admin users on latest Big Sur. I've tried almost every approach from stackoverflow but they all come down to these simple commands:
This does the job for the user which executes the commands. While the other user always gets these errors on brew update:
What is the correct way to install Home-brew for 2 admin users? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Create a third admin user (e.g.
Then all further write operations (i.e.
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 |
Beta Was this translation helpful? Give feedback.
Create a third admin user (e.g.
homebrew
), then:Then all further write operations (i.e.
install
,update
,upgrade
, etc.) should be done by everyone else as that user, by the power ofsu
orsudo
, depending on your preference: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
.