How to Install Git and OS X Command Line Utils without installing Xcode

The download size of Xcode is more than 2.5 gb and it’ll be more after the installation. Its better to download just the command line tools.
 
  1. Download the latest version of command line from the Apple Developer Downloads page (Download the latest version available in the list. Look by release date. Make sure its not a beta version)
  2. Open the .dmg file and install the tools (This will install gcc, ruby and other necessary tools)
  3. Go to Homebrew website – to find the install instruction. It is just a single ruby command.
  4. Installing Homebrew will give you all sorts of possibilities where
Now for installing Git and other tools, use the brew command.
Running brew on a few packages (like macvim) will still require a full Xcode installation to install. But you can visit the official site of those tools to download them. 😉
Standard

Leave a comment