homebrew-keg
is a tiny external command for the Homebrew package manager that opens the keg directory for a formula in a Finder window or prints the keg path to the shell.
Install with Homebrew:
brew tap marcransome/keg
To open the keg for a locally installed formula in a Finder window:
brew keg <formula>
For example:
brew keg flog
Which opens the keg directory for the flog formula:
To print the keg path for a formula:
brew keg --path <formula>
For example:
brew keg --path flog
Prints:
/usr/local/Cellar/flog/1.5.0
- Keg icon made by Freepik from www.flaticon.com
homebrew-keg
is provided under the terms of the MIT License.
Email me at marc.ransome@fidgetbox.co.uk or create an issue.