Homebrew for a multi-user macos host #5480
Answered
by
gromgit
tbrowder
asked this question in
Writing Formulae/Casks
-
How can I, as an administrator on a MacOS host, install homebrew for use by non-admin users? |
Beta Was this translation helpful? Give feedback.
Answered by
gromgit
Jul 9, 2024
Replies: 1 comment 5 replies
-
This is actually answered in the Homebrew FAQ, though in a rather obscure way:
So basically:
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
p-linnane
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is actually answered in the Homebrew FAQ, though in a rather obscure way:
So basically:
hb
)hb
(if you have an existing installation,sudo chown -R hb: $(brew --prefix)
should fix it right up without the need for reinstallation)/etc/sudoers
(better, create a new/etc/sudoers.d/hb
file) with something like the following:sudo hb brew ...
, or write a simple …