Homebrew is a package manager for macOS and Linux that allows you to install packages missing or outdated on system repositories.

It has its own “repository”: developers create a ruby file with the necessary info to download and install their app (url, sha256 checksum, install commands). This way, you can install the most recent software and packages that are not yet in your operating system official repositories.

Table of Contents


Check https://brew.sh/ (you probably only need to copy and paste one command to install Homebrew). During installation process, you can choose to install Homebrew on your $HOME folder or as root (it will create a folder inside /home/). Once installed, follow the displayed steps to add Homebrew to your PATH.


Homebrew is very easy to use. Install a package with brew install, update and upgrade with brew update and brew upgrade. Uninstall with brew uninstall. For example:

brew install nushell

You can also search packages with brew search. Run brew help for more info.

If you have any suggestion, feel free to contact me via social media or email.