Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Mac

Daniel Rojas
Daniel Rojas
416 Points

how do i install git?

sorry guys i have no idea what is git and how to install it

5 Answers

Joshua Edwards
Joshua Edwards
52,175 Points

This link should help you with installing git. If you want to know how to use it try this course on Treehouse.

William Li
PLUS
William Li
Courses Plus Student 26,868 Points

I installed mine using Homebrew, that way I can easily update it to further version with a single brew command; besides, as a developer using Mac, you pretty much have to rely on Homebrew to install lots and lots Command Line utitlies.

Joshua Edwards
Joshua Edwards
52,175 Points

I agree. I actually responded about 5 seconds before Daniel responded with the operating system

William Li
William Li
Courses Plus Student 26,868 Points

thanks for your great answer too, Joshua Edwards :thumbsup:, yeah, Downloading the binary to install git is another great approach, and I think it's probably easier than getting Homebrew setup.

Daniel Rojas
Daniel Rojas
416 Points

Yes it is for a mac

Daniel Rojas
Daniel Rojas
416 Points

Wait so, what should i be suing for mac, git or Homebrew?

William Li
William Li
Courses Plus Student 26,868 Points

Hi, Daniel, go with Joshua's approach if you want a super easy painless way to install git;

Homebrew is a package manager for OS X, it can be used to install git and many other toolsets, but sometimes people has trouble getting it setup right.

Joshua Edwards
Joshua Edwards
52,175 Points

you have to install homebrew on your mac first directions

Daniel Rojas
Daniel Rojas
416 Points

thanks, i have installed homebrew. I ran the comand brew doctor and it gave me warnings that says: wanring: /Libray/framework/libcurl.framework detected this can picked up by Cmake's build system and likely cause the build to fail. you may need to move this file out of the way to compile CMake

warning: unbrewed dylibs were found in /usr./local/lib. if you didn't put them there on purposed they could cause problems when building Homebrew formulae, and may need to be delete /usr/local/lib/libguide.dylib /usr/local/lib/libklf.ONGL.dylib /usr/local/lib/Noesis.dylib

what should i do with that?