Venv-like option to install brew packages within a project (not globally) #2950
Replies: 2 comments 4 replies
-
Nix supports
Yes, and for good reason: Hundreds of Homebrew bottles aren't relocatable, so |
Beta Was this translation helpful? Give feedback.
-
A way to do something like this would be to create another installation of Homebrew in a different prefix. See Homebrew/brew#11787. A quick way to do something like this is
Note: this will build non-relocatable bottles (e.g. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm looking to do something akin to Python's virtual environments but with Brew:
This must be doable because Nix does it, but afaik Brew doesn't support it out of the box. Could someone give me any pointers?
Beta Was this translation helpful? Give feedback.
All reactions