If you want a more up to date version, you can also install it via a binary installer. A macOS Git installer is maintained and available for download at the Git website, at http: You can also install it as part of the GitHub for Mac install.
Their GUI Git tool has an option to install command line tools as well. You can download that tool from the GitHub for Mac website, at http: There are also a few ways to install Git on Windows. The most official build is available for download on the Git website. Just go to http: Note that this is a project called Git for Windows, which is separate from Git itself; for more information on it, go to https: To get an automated installation you can use the Git Chocolatey package.
How to Install Git on Linux, Mac or Windows
Note that the Chocolatey package is community maintained. Another easy way to get Git installed is by installing GitHub Desktop. The installer includes a command line version of Git as well as the GUI. You can download this from the GitHub Desktop website. The binary installers tend to be a bit behind, though as Git has matured in recent years, this has made less of a difference.
Their support forum also seems active. The installer crashed the first time I tried to run it, but then I tried a second time, and it worked fine. The shell script they provide had spaces in the filename, so I renamed it, opened a Terminal window, viewed the script source, and then ran it.
I have to say, I don't know how necessary this is, but I know that I wouldn't remember to come back and do this later, so I did it now. After running this script you also need to log out, and log back in again for the changes to take effect. A second way to install Git is by using MacPorts. If you already have MacPorts installed on your system, and are comfortable using it, this is also a pretty easy option. So that is what we are going to do in this post. Remember git is a program that is most commonly used on your laptop or desktop, it is not a program for a mobile phone or tablet.
This post is going to be platform dependent, so depending on whether you are a Mac, Linux or a PC user, these instructions may be a bit different. These instructions will most likely work on any recent version of OSX, but let me know if you run into issues.
If you are running on a different system, please walk through these instructions and tell me in the comments which stage you get stuck on so I can address any issues. Remember the most common way to interact with git is through the terminal window, so open a new terminal window to continue.
Git - Downloading Package
This tells me that the git program is definitely not installed on this machine and we need to install it to use the program. The first step is downloading the installer package from the website.
You can navigate to https:
Related git installation mac os x
Copyright 2019 - All Right Reserved