command not found: brew – solution

I guess you are trying to install one of the Homebew packages on your mac and encountered similar problem.

Don’t worry, this has got a really nice solution.

All it asks of you to install it with one command from the command line, let’s have a look.

Recipe:

  1. open up your Terminal
  2. head to Homebrew’s homepage https://brew.sh/
  3. copy the installation command /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)", paste it to your terminal and press Enter
  4. You are going to be asked for your password when installing, some pressing of Enter key on your keyboard, but in general, that’s it

Pitfails:

  • in order to install Homebrew (MacOS Catalina), the operating system is going to ask you to install Xcode Command Line Tools as requirement, so you’re going to be needing around 8GB of free space on your hard drive 🙂

Sources:

Credits:

  • image: https://brew.sh/

Leave a comment

Your email address will not be published. Required fields are marked *