

Install git using the appropriate package manager for your Linux distribution. You may need to install homebrew first (instructions for that are provided).Īfter you’ve installed git, try git -version in the Terminal again to make sure it is installed. Follow these instructions to install git via Homebrew, which is a program to manage software installations like this on a Mac. If you do not have git installed, or it is before version 2.17, you will want to install git. To check, open the Terminal (Applications > Utilities > Terminal) and type git -version If it is installed, you will see the version number otherwise you will get an error. Git may already be installed on your Mac. When you are done, you should see three “Git” programs installed. If you do not regularly use the command line, you may want to change the default editor to Notepad or another text editor that you are familiar with. Keep the default option, except perhaps for the editor. During installation, you will be asked a series of questions. If you don’t have it, download and install git. Git shows up as an application in Windows. If you do have an account, make sure you know your username, password, and the associated email address. If you don’t already have one, create a GitHub account. In particular, current versions of RStudio require up to date operating systems. Note: if you are not using a current operating system (Windows 10 or Mac OSX 12) you may run into installation problems. Northwestern researchers can get help via our free consultation service. There are a lot of things that can go wrong along the way.

To use git and GitHub with R/RStudio, you first need to set up all of the components.
