apx is the package manager which comes with Vanilla OS.

Installing Git

git is an essential dependency for installing Homebrew. Run the git command in your terminal to check if it exists already. If git doesn’t exist in your system, you can install it using the following command:-

sudo abroot exec apt install git

After executing the above command, reboot your system to proceed with the guide below.

Installing Homebrew

Once git is present in your system, you can install Homebrew in the terminal without any superuser privileges using the following command:-

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

Once installation is complete, you will see this message:-

Homebrew Post Installation message

Now, execute the commands the message gives you to add Homebrew to your $PATH. To see if everything worked correctly, install a test package (brew install hello), then check the installation by typing hello in your terminal.