This short article shows you a few ways to check whether Homebrew is installed on your Mac or not.
1. Open your Terminal and run the command below:
brew --version
If Homebrew is installed, you’ll get its version like this:
![](https://www.kindacode.com/wp-content/uploads/2022/04/Screen-Shot-2022-04-20-at-21.53.28.jpg)
Otherwise, you’ll receive an error as follows:
command not found: brew
2. Another popular way is to use the which keyword, like so:
which brew
It’ll return the path where Homebrew is installed:
![](https://www.kindacode.com/wp-content/uploads/2022/04/Screen-Shot-2022-04-20-at-21.55.53.jpg)
Or an error message:
brew not found
You can easily install Homebrew by performing the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
That’s it. Have a nice day.