有没有办法列出macOS brew软件包中的文件?

有没有办法列出macOS brew软件包中的文件?,macos,shell,homebrew,Macos,Shell,Homebrew,是否有办法列出macOS中brew软件包(已安装)中的文件 一些与Ubuntu中的此命令等效的命令: $ dpkg -L nginx /. /usr /usr/share /usr/share/doc /usr/share/doc/nginx /usr/share/doc/nginx/copyright /usr/share/doc/nginx/changelog.Debian.gz brew列表-v$FORMULA将列出所有已安装的文件 例如: $ brew ls -v bee find /

是否有办法列出macOS中brew软件包(已安装)中的文件

一些与Ubuntu中的此命令等效的命令:

$ dpkg -L nginx
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/nginx
/usr/share/doc/nginx/copyright
/usr/share/doc/nginx/changelog.Debian.gz

brew列表-v$FORMULA
将列出所有已安装的文件

例如:

$ brew ls -v bee
find /usr/local/Cellar/bee/1.80_1 -not -type d -print
/usr/local/Cellar/bee/1.80_1/INSTALL_RECEIPT.json
/usr/local/Cellar/bee/1.80_1/bin/bee
/usr/local/Cellar/bee/1.80_1/.brew/bee.rb
/usr/local/Cellar/bee/1.80_1/libexec/bin/bee
/usr/local/Cellar/bee/1.80_1/libexec/bin/bee.properties
/usr/local/Cellar/bee/1.80_1/libexec/lib/groovy-cli-commons-2.5.10.jar
/usr/local/Cellar/bee/1.80_1/libexec/lib/bee-1.80.jar
/usr/local/Cellar/bee/1.80_1/libexec/lib/groovy-sql-2.5.10.jar
/usr/local/Cellar/bee/1.80_1/libexec/lib/groovy-2.5.10.jar
/usr/local/Cellar/bee/1.80_1/libexec/lib/commons-cli-1.4.jar
/usr/local/Cellar/bee/1.80_1/libexec/lib/jackson-mapper-lgpl-1.9.13.jar
/usr/local/Cellar/bee/1.80_1/libexec/lib/jackson-core-lgpl-1.9.13.jar

ls
只是
list

brew list的缩写-v$FORMULA
将列出所有已安装的文件

例如:

$ brew ls -v bee
find /usr/local/Cellar/bee/1.80_1 -not -type d -print
/usr/local/Cellar/bee/1.80_1/INSTALL_RECEIPT.json
/usr/local/Cellar/bee/1.80_1/bin/bee
/usr/local/Cellar/bee/1.80_1/.brew/bee.rb
/usr/local/Cellar/bee/1.80_1/libexec/bin/bee
/usr/local/Cellar/bee/1.80_1/libexec/bin/bee.properties
/usr/local/Cellar/bee/1.80_1/libexec/lib/groovy-cli-commons-2.5.10.jar
/usr/local/Cellar/bee/1.80_1/libexec/lib/bee-1.80.jar
/usr/local/Cellar/bee/1.80_1/libexec/lib/groovy-sql-2.5.10.jar
/usr/local/Cellar/bee/1.80_1/libexec/lib/groovy-2.5.10.jar
/usr/local/Cellar/bee/1.80_1/libexec/lib/commons-cli-1.4.jar
/usr/local/Cellar/bee/1.80_1/libexec/lib/jackson-mapper-lgpl-1.9.13.jar
/usr/local/Cellar/bee/1.80_1/libexec/lib/jackson-core-lgpl-1.9.13.jar
ls
只是
list
的简写