Attempted to install Homebrew with the following command:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Received this error:
fatal: unable to access 'https://github.com/Homebrew/homebrew/': SSL: Can't find the certificate "kgreenwood" and its private key in the Keychain.
Attempted to work on something else, discovered that I couldn't clone from git with HTTPS anymore. I generated an SSH keypair (disclaimer: I know almost nothing about certificates) and can now clone using SSH URLs.
I assume the issue is that the Homebrew installation command uses an HTTPS url. Is there some way I can force it to use SSH instead? I've tried "untar anywhere" alternative solution in their guide (typing mkdir homebrew && curl -L https://github.com/Homebrew/homebrew/tarball/master | tar xz --strip 1 -C homebrew
in /usr/local
) but I keep getting:
brew: command not found
--build-from-source
flag when callingbrew install
.brew: command not found
error you have to add/usr/local/bin
in your PATH. In your~/.bashrc
add the following:export PATH="/usr/local/bin:$PATH"
.