Purposes
Git
In Mac OSX, git will be installed thru Command Line Tools.
Steps
- Open
App Store
, search for Xcode
- Download
Xcode
- Launch
iTerm
inside Applications, run the command xcode-select --install
- A pop-up is shown to ask you to install command line tools, click
Install
to continue
- Wait for the Command Line Tools package download to complete, it'll be about 130MB and installs fairly quickly depending on your connection speed
- The installer goes away when completed, it installs quite a lot commands, including
git
and other useful utilities
- Try running
git --version
in iTerm
Goals
- Install the
Command Line Tools
- Able to run
git --version
command, and it shows you the current version of git
Resources