Homebrew将Postgres可执行文件安装在哪里?

21
Homebrew会将Postgres可执行文件安装在哪个目录中?我已经到处搜索过了。

3个回答

22
通常你可以在 /usr/local/Cellar 找到配方。 你尝试过在那里搜索吗?

18
在由Homebrew管理的bin/目录中。打开终端并运行:
$ echo `brew --prefix`/bin

输出将是安装Postgres可执行文件的目录。


是的。如果有人正在搜索由Homebrew管理的bin/目录...请尝试/opt/homebrew/bin。 - Adam
如果在/opt/homebrew/bin找不到,请尝试在/opt/homebrew/opt中查找 - undefined

1
版本14的位置是:
/usr/local/Cellar/postgresql@14

使用完整版本来查找可执行文件:
/usr/local/Cellar/postgresql@14/14.8/lib/postgresql@14

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接