Install Git on Mac OS X The Git OS X Installer is a typical OS X setup program, so simply walk through the steps that the installer provides. Note that since the files are being installed in /usr/local you will need root access – that is, you’ll need to enter the administrator’s password during the setup procedure. Download the latest version of Git from the Git Project Home If there is no specific version for Lion, the version for Snow Leopard works just fine. The *easiest GIT client and most optimized for Mac OS X in my opinion is probably Tower. Its not the most powerful but the interface is the easiest to use. Another one i like is git-gui.
On Mac. I have installed 'brew' using terminal, now I tried to install 'git' with the command: 'brew install git'. But terminal says 'Now install Xcode: http://developer.Apple.com/technologies/xcode.HTML'
So I go to this page, but I found that I have to pay (at least) 99$/year to get 'xcode'.
Is there a free version of xcode to download from Apple site?If not, is there a way to install 'git' without 'xcode'?studiohack♦
migrated from stackoverflow.comAug 13 '11 at 9:18
This question came from our site for professional and enthusiast programmers.
Xcode 3.2.6 is free. It works on OS X Snow Leopard(10.6) or later. You have to be a registered Apple Developer to download it. It is also free to register.
Xcode 4.1 is also free. But it works only OS X Lion(10.7). You can download Xcode 4.1 from Mac App Store.
If you are using OS X Lion, you can use Xcode 4.1 or Xcode 3.2.6 for free.
To answer the question as posed: get the OSX Installer for Git. I've used it several times. Works just fine, and doesn't require Xcode.
Here's a way to install git on Mac OS X without XCode.
Git's official web site provides an installer : http://git-scm.com/download/mac
After installing git, you also have to add its directory to your path :
echo 'PATH=/usr/local/git/bin:$PATH' >> ~/.bash_profilesource ~/.bash_profile
Adding the directory to the path will prevent Mac OS X from aksing you to install XCode each time you type
git in the terminal.
Credits goes to Bobby Allen and to GoZoner's answer on SO.
Git Client For Mac
Sign up to be an Apple Developer, XCode is free from them through the Apple Developer Connection.
Download Xcode 4 for Free
Xcode 4 is a free download for all members of the iOS and Mac Developer Programs. Log in to your account to begin the download.
Mac Os X Lion Torrent
Brew wants to download source and compile it locally. That requires build tools, and where you get them is with the Apple developer software. So it wants Xcode.
You can download a pre-compiled and ready-to-install version of git here instead.
Not the answer you're looking for? Browse other questions tagged git or ask your own question.
In this movie, we are going to learn how to install Git on Linux.…The first thing you need to know is where to find Git.…The main Git web site is going to be at http://git-scm.com, SCM stands for…Source Code Manager, and this web site is going to have everything you need to…know about Git, including links to information about how to download.…For Linux, that link is going to be git-scm.com/download/linux. Let's take a look.…So here I am on the Download Linux page and unlike the Mac and Windows…versions where you actually download an installer or a package to install on…your operating system.…
Mac Os X 10.9 Download
With Linux, they break it up by distribution and tell you what package…manager you ought to use.…So if you are using Debian/Ubuntu, you should use apt-get, if you are using…Fedora, you should use yum, and so on, and it has a list of all the distributions…and the different package managers you can use to install it.…If your package manager asks you to make any choices, they will just want to…pick the default settings for everything.…