krista
October 2, 2019, 11:22pm
1
Hi,
I know this is not strongly linked to coding per se, however I’m hoping to find more tailored solutions since Google isn’t helping!
I’m trying to download git (https://sourceforge.net/projects/git-osx-installer/reviews/?stars=0#reviews ) but it won’t install on my Mac. I’m currently running Yosemite 10.10.5 and it won’t upgrade to anything beyond that.
What can I try?
If you haven’t installed git yet, install the xcode command line tools – type this command into the terminal:
xcode-select --install
Then try
git --version
Should be installed now, or else it’ll trigger the installer, I forget which.
Or install Homebrew, which is a package manager for OSX. Probably install it anyway because it’s extremely useful.
Then run
brew install git
Note OSX has its own version of git installed anyway, just that it’s normally a few versions behind so better install current version.
Is this issue coming from being unable to update to a more modern version of Mac OS due to being unable to agree to the terms? If so continue reading:
Try using your iCloud account on another apple device and agreeing via that. Then you can update and should be able to install git normally.
krista
October 3, 2019, 9:15pm
4
Thanks to @DanCouper and @samazzarano for your tips on how to do this. Xcode wouldn’t install on Yosemite, so that solution wasn’t cutting it for me. For some reason though, today I managed to download and upgrade to El Capitan 10.11.x and git and github seem to be working ok. I’m still a newbie so things still hazy on my end. But thanks for your contributions.
2 Likes