Homebrew will not begin to install on Mojave 10.14.2

231 views Asked by At

I'm trying to install home-brew on my Mac because my linux partition messed up, in the mean time I was trying to install python using

$ brew install python

then it gave the error

-bash: brew: command not found

I'm assuming that with the Mac update brew became unusable so I tried using multiple variations of

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

After this didn't work, I did some digging and found out you had to use Xcode and command line tools. I couldn't use the command:

$ xcode-select --install

because it returned with the same-ish response,

-bash: xcode-select: command not found

So I went and downloaded it manually. After this I assumed I had done it. Still, it returned the same error when I tried to use;

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

-bash: curl: command not found

Are there any solutions?

P.S. Here are some things I tried incase you can't understand my gibberish

$ python --version

-bash: python: command not found

$ brew doctor

-bash: brew: command not found

$ brew install python

-bash: brew: command not found

$ xcode-select --install

-bash: xcode-select: command not found

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

-bash: curl: command not found $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

-bash: curl: command not found

0

There are 0 answers