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
Facing issues? Have Questions? Post them here! I am happy to answer!
Author Info:
Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.
Follow him on: X
You can also reach out to him via e-mail: rakesh@code2care.org
More Posts related to HowTos,
- [Fix] Error 1020 Cloudflare: Access was denied
- What is an Authorization Code Grant? OAuth 2.0
- Fix: psql: error: connection to server at localhost (::1) port 5432 failed: FATAL: database does not exist
- 100+ SEO Tips to improve your website search ranking
- How to submit website to dmoz directory
- How to check the version of NodeJS installed
- How to enter Rockstar Activation Code?
- Background task activation is spurious error - Windows 10, Office 2016, Office 365
- Angular CLI ng Error: You need to specify a command before moving on. Use --help to view the available commands
- cURL HTTP GET request command examples
- Fix - JioCinema Something Went Wrong Please Try Again Error 8001 while streaming IPL Cricket Live
- How to remove password from pdf file
- How to identify the version of IntelliJ
- Command: How to scp a file to remote server location?
- How to add Widgets to MacBook Desktop
- Setting up RSS feeds notifications within Outlook
- Fix - Website Connection timed out Error Code 522 (Cloudflare)
- How to fix: Please check your network connection (Retry)
- Fix: Could not connect to Redis at 127.0.0.1:6379: Connection refused
- Accept Only 0-9 Numbers RegEx Example
- How to create a New Project in Visual Studio Code (VS Code)
- Top 10 emerging breakthrough trending technologies
- Free Unlimited Calls from MTNL & BSNL Landlines from 1st May 2015
- [Error] zsh: command not found: mvn
- How to Scan iPhone for Virus? Is Antivirus it really required?
More Posts:
- How to Add Git Bash Option to Windows Terminal List - Git
- How to export bookmarks from Google Chrome Browser - Chrome
- How to Open Private Browsing (Incognito Mode) in Safari on Mac - MacOS
- How to Align Text using Notepad++ - NotepadPlusPlus
- Program 9: Divide Two Numbers - 1000+ Python Programs - Python-Programs
- How to take Screenshot on Android device - Android
- How to add duration to Android Toast makeText method - Android
- [Java] Read a File with UTF-8 Encoding - Java