[SOLVED] Error: Git must be installed and in your path (original) (raw)

August 19, 2020, 11:05pm 1

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?

sjackman (Shaun Jackman) August 19, 2020, 11:21pm 2

Try…

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

crinklywrappr (Daniel Fitzpatrick) August 19, 2020, 11:31pm 3

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