

Whatever version of Git you’re installing, once the installation has finished verify that the installation process has been successful by running the command git -version in the Terminal tab in RStudio (as described above). For other versions of Linux see here for further installation instructions. You will need administrative privileges to do this.
#DOWNLOAD GIT FOR MAC TERMINAL UPDATE#
For Ubuntu Linux (or variants of) open your Terminal and type sudo apt update
#DOWNLOAD GIT FOR MAC TERMINAL INSTALL#
If you’ve never heard of Xcode then don’t worry about it!įor those of you lucky enough to be working on a Linux machine you can simply use your OS package manager to install Git from the official repository. If you’ve previously installed Xcode on your Mac and want to use a more up to date version of Git then you will need to follow a few more steps documented here.

You can find the download file and installation instructions here.įor those of you using a Mac computer we recommend you download Git from here and install in the usual way (double click on the installer package once downloaded). To install Git on a Windows computer we recommend you download and install Git for Windows (also known as ‘Git Bash’).

On a Linux machine simply open the Terminal (Ctrl+Alt+T often does it). On a Mac go to ‘Applications’ in Finder, click on the ‘Utilities’ folder and then on the ‘Terminal’ program. On Windows go to the ‘Start menu’ and in the search bar (or run box) type cmd and press enter. You can also do this check outside RStudio by opening up a separate Terminal if you want. If you get an error (something like git: command not found) this means you don’t have Git installed (yet!). If you see something that looks like git version 2.25.0 (the version number may be different on your computer) then you already have Git installed (happy days). You can check if you already have Git installed by clicking on the Terminal tab in the Console window in RStudio and typing git -version (the space after the git command is important). If you’re lucky you may already have Git installed (especially if you have a Mac or Linux computer). To get started, you first need to install Git. 1.4.2 Integrated developement environements.
