githubEdit

Homebrew

Homebrewarrow-up-right is a package manager for macOS, it allows installing for CLI or GUI packages. It is essential for mac users.

Install Xcode tools

before installing homebrew ensure you download command line tools for xcode with the following command:

sudo xcode-select --install

Install homebrew

use the official script from the homebrew website. It is a ruby script, whiich will run through a series of questions/ a big chunk of time waiting. let it do its thing and go get a cuppa.

Setting up the PATH

Already done in newer macOS versions - if not; you change your path by adding /usr/local/bin to your PATH environment variable. This can be done on a per-user basis by adjusting PATH in your ~/.bash_profile. To do this, run:

echo 'PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile

Finally

restart the terminal, running the following brew command to check if everythings good:

brew doctor

and hopefully you are now ready to brew! 🍺

Last updated