Install local homebrew formulae with custom prefix #4702
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Homebrew doesn't install things outside of it's own prefix so this does not seem possible. |
Beta Was this translation helpful? Give feedback.
-
You can technically try to install in the custom prefix via the unsupported method but you’d have to manually put the custom dependencies in Homebrew’s directories which can get messy. You’d probably want to create a Tap, which is supported, instead of trying to force Homebrew’s |
Beta Was this translation helpful? Give feedback.
-
I've created two projects that are capable of installing brew bottles wherever you want and making them work together. If you either have or can get the bottles for the packages you want, you can use what I've made to install brew packages anywhere on macos intel/arm. See https://github.com/dryark/minibrew_deploy as an example of deploying a collection of bottles. dlinfo.json and dlsize.json were created using https://github.com/dryark/minibrew ; still refining the process of how all this works, but it is meant to let you avoid the complexity of brew for packages that have bottles available and postinstall steps can be either ignored or done manually. |
Beta Was this translation helpful? Give feedback.
Homebrew doesn't install things outside of it's own prefix so this does not seem possible.