Github Installation

Posted by admin at May 27, 2020

  1. Download the Git for Windows installer.
  2. Run the installer and follow the steps bellow:
    1. Click on “Next”.
    2. next again - Github Installation
    3. Click on “Next”. Unless you would like to change the install destination, then click “Browse”. 
    4. next again 2 - Github Installation
    5. Select your desired editor. Note: This is entirely up to you, pictured on the right is the choice of Atom, a free editor with built-in support for Git and Github. After you have chosen, click “Next”.
    6. next again 3 - Github Installationnext again 4 - Github Installation
    7. Keep “Use Git and optional Unix tools from the Windows Command Prompt” selected and click on “Next”. If you forgot to do this, programs that you need for the workshop will not work properly. If this happens, rerun the installer and select the appropriate option. 
    8. python1 - Github Installation
    9. next again 6 LI - Github Installation
    10. Keep “Checkout Windows-style, commit Unix-style line endings” selected and click on “Next”.
    11. Keep “Use Windows’ default console window” selected and click on “Next”.
    12. next again 9 LI - Github Installation
    13. Click on “Finish”.
  3. If your “HOME” environment variable is not set (or if you don’t know what this is):
    1. Open command prompt (Open Start Menu, then type cmd and press [Enter])cmd - Github Installation
    2. Type the following line into the command prompt window exactly as shown:setx HOME "%USERPROFILE%"
    3. Press [Enter], you should see SUCCESS: Specified value was saved.
    4. Quit command prompt by typing exit then pressing [Enter]

This will provide you with both Git and Bash in the Git Bash program.

Mac OS X

The default shell in all versions of Mac OS X is Bash, so no need to install anything. You access Bash from the Terminal (found in /Applications/Utilities). You may want to keep Terminal in your dock for this workshop.

terminal - Github Installation

Linux

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 install anything.


Comments

Write a Reply or Comment

Your email address will not be published. Required fields are marked *