Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

brew change package install location

Tags:

macos

homebrew

How can I change where Homebrew will install a package? Is this even possible? I tried manually moving the installed folder in /usr/local/Cellar, but the dynamic linking is "hardwired" for that location.

like image 908
kilojoules Avatar asked Jul 25 '15 01:07

kilojoules


1 Answers

No it’s not possible. You can change the location of the whole Homebrew install (e.g. in ~/homebrew instead of /usr/local) but you can’t change the location of one package.

like image 166
bfontaine Avatar answered Sep 23 '22 22:09

bfontaine