This content is from the fall 2016 version of this course. Please go here for the most recent version.
In this class you will need to run commands from the Bash shell. Windows does not automatically include this (instead it has the Command Prompt). To maintain as much consistency across operating systems as possible, you need to install both the shell interface and Git. To do this, follow these instructions or watch the video tutorial:
cmd
and press [Enter])setx HOME "%USERPROFILE%"
SUCCESS: Specified value was saved.
exit
then pressing [Enter]This will provide you with both Git and Bash in the Git Bash program.
Mac OS X already includes the shell, so all you need to do is install Git. You can obtain and install it from here.
If Git is not already available on your machine you can try to install it via your distro’s package manager.
Debian/Ubuntu
sudo apt-get install git
Fedora/Redhat Linux
sudo yum install git
This page is derived in part from “UBC STAT 545A and 547M”, licensed under the CC BY-NC 3.0 Creative Commons License.
This page is derived in part from “Version Control with Git”, licensed under the CC BY 4.0 Creative Commons License.
This work is licensed under the CC BY-NC 4.0 Creative Commons License.