If you have never been in a terminal shell, consider watching this shell tutorial video by Richard Darst.
The default shell is usually Bash, but if your machine is set up differently
you can run it by opening a terminal and typing
bash. There is no need to
The default shell in all versions of macOS before “Catalina” is Bash, so no need to install
anything. You access Bash from the terminal (found in
/Applications/Utilities). The default shell on macOS “Catalina” is zsh which will work
equally fine for our purposes.
Watch the tutorial for installing the Shell, Git, and Nano on a Mac for a Software Carpentry Workshop (copyright Software Carpentry) for an example on how to open the terminal.
You may want to keep the terminal in your dock for this workshop.
Possible problem with this approach is that Git Bash does not see the Python and Anaconda scripts. See also the troubleshooting page.
If you want to make sure that both Git and Python work in the same environment without modifying any path variables, you might want to skip this installation altogether and install Git using Conda (see the Git installation instructions).
If you decide to try Git Bash, you can watch the video tutorial (copyright Software Carpentry).
First download the Git for Windows installer.
Then run the installer and follow these steps:
git --versionto verify the Git is installed.
If your “HOME” environment variable is not set (or you don’t know what this is):
cmdand press [Enter])
setx HOME "%USERPROFILE%"
SUCCESS: Specified value was saved.
exitthen pressing [Enter].
This will provide you with both Git and Bash in the Git Bash program.