Installing Homebrew on M1 Mac

Homebrew is extremely useful for anyone who uses their Mac for work.

It allows to quickly install and easily remove apps and packages.

On Apple Silicon Homebrew installs into a different path then before:

/opt/homebrew/

so please take this into account when reading old guides in the Internet on how to deal with Homebrew packages

So to install Homebrew, simply run the following command in a Terminal window:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

This will install Homebrew and add the '/opt/homebrew/bin' to the PATH.

The packages will be installed into

/opt/homebrew/Cellar

with the simlinks created in

/opt/homebrew/opt