So I have a computer that is stuck on Snow Leopard.
How do I install Homebrew on such a old computer? Is this even possible?
I tried the following command:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
However this gives me an error about needing git and I don't know how to install an old version of that.
Best Answer
If, like me, you're not very familiar with Ruby or
curl
, here's a verbose (and slightly updated version) to the otherwise excellent answer by @rogerdpack:Homebrew-brew-[latest version number etc.].tar.gz
)Homebrew-homebrew-core-[latest version number].tar
)curl -o ~/Downloads/install.txt https://raw.githubusercontent.com/Homebrew/install/master/install
/usr/bin/curl -#{curl_flags} #{BREW_REPO}/tarball/master
withcat ~/Downloads/Homebrew-brew-[version number etc.].tar.gz
B. replace/usr/bin/curl -#{curl_flags} #{CORE_TAP_REPO}/tarball/master
withcat ~/Downloads/Homebrew-homebrew-core-[version number etc.].tar.gz
ruby -S ~/Downloads/install.txt
In my case, the exact filenames were
Homebrew-brew-1.5.14-3-g94c0d83.tar.gz
andHomebrew-homebrew-core-b83864a.tar