
If you have installed a formula (node, python, git, awscli etc) using brew and wondering where it got installed on your Mac/Linux, well you can simply run the command brew --prefix <formula> to know!
Example:% brew --prefix python3
/opt/homebrew/opt/python@3.10
As you can see I have Python 3.10 installed at /opt/homebrew/opt/python@3.10
Note: Based on which Operating System you are using brew the default location may vary,
- ARM Based M1/M2 Mac (macOS): /opt/homebrew
- Intel Based Mac: /usr/local
- Linux: /home/linuxbrew/.linuxbrew
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!