Is there a way to restrict packages installation via brew?Getting Started #6146
Replies: 3 comments
-
https://docs.brew.sh/Manpage#environment has some options: |
Beta Was this translation helpful? Give feedback.
-
There is no whitelist option, despite being requested regularly. You can use the blacklists instead and script transforming your whitelists into blacklists with something like:
Obviously this has to be repeated regularly to include newly added kegs that are not whitelisted. Annoying but the best there is so far... |
Beta Was this translation helpful? Give feedback.
-
@Mariushrek, I'm curious: what problem are you trying to solve, that "restrict Homebrew package installation" is the correct solution? Perhaps what you're trying to achieve can be done in a different way. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew config
Output of
brew doctor
Description of issue
Hey,
I'm looking for an option to restrict packages installation via brew (let's say whitelisted packages). Does brew allow me to do something like that? If so - how do I achieve this?
Thanks,
Mariusz
Beta Was this translation helpful? Give feedback.
All reactions