[SOLVED] Error: Git must be installed and in your path

This is Part 2 of my installation issues. (Part 1 already solved in another thread)

This is occuring when running the installation script

image

Clearly, git is installed and in my path.

[daf@artix-s6]$ which git
/home/daf/.guix-profile/bin/git

The common issues appears to address this, but not for linux systems: https://docs.brew.sh/Common-Issues#brew-complains-about-absence-of-command-line-tools

(at least, I’m assuming I don’t need xcode utilities for brew to install)

Wat do?

Try…

HOMEBREW_DEVELOPER=1 HOMEBREW_GIT_PATH=/home/daf/.guix-profile/bin/git brew install curl git

HOMEBREW_NO_ENV_FILTERING=1 might work too?

This is what I actually did

HOMEBREW_DEVELOPER=1 HOMEBREW_GIT_PATH=$(which git) ./brew_install.sh