Skip to main content

Git (for Bash)

I often write small Bash scripts to run automated tasks.

The Git installer comes with a nice Bash integration for Windows, so that's what I use to install Bash easily.

If you plan to use some scripts that are written in Bash, follow the instructions below to install Git, which will also install Bash.

Installation

Automatic installation (using the installer script)

  1. On the Desktop, open the Trading Files folder
  2. Then open the Installers folder
  3. Then open the Git folder
  4. Launch the Install-Git.cmd script
  5. Wait for the black window to finish

Manual installation

1. Obtain install files

  1. Open the Git Download page and download the Git installer
  2. Save the installer in the Trading Files folder, in a folder called Executables.

2. Install

180-windows-server-install-git-01.png

  1. From the Desktop
  2. Open the Trading Files folder, then Executables folder
  3. Launch the Git-X.YY.Z-64-bit.exe installer

180-windows-server-install-git-02.png

  1. In the "Information" window, click "Next"

180-windows-server-install-git-03.png

  1. In the "Select Destination Location" window, click "Next"

180-windows-server-install-git-04.png

  1. In the "Select Components" window, click "Next"

180-windows-server-install-git-05.png

  1. In the "Select Start Menu folder" window, click "Next"

180-windows-server-install-git-06.png

  1. In the "Choosing the default editor" window, select "Notepad" and click "Next"

180-windows-server-install-git-07.png

  1. In the "Adjusting the name of the initial branch" window, click "Next"

180-windows-server-install-git-08.png

  1. In the "Adjusting your PATH environment" window, click "Next"

180-windows-server-install-git-09.png

  1. In the "Choosing the SSH executable" window, click "Next"

180-windows-server-install-git-10.png

  1. In the "Choosing HTTPS transport backend" window, click "Next"

180-windows-server-install-git-11.png

  1. In the "Configuring the line ending" window, click "Next"

180-windows-server-install-git-12.png

  1. In the "Configuring the terminal emulator" window, click "Next"

180-windows-server-install-git-13.png

  1. In the "Choose the default behavior" window, click "Next"

180-windows-server-install-git-14.png

  1. In the "Choose a credential helper" window, select "None" and click "Next"

180-windows-server-install-git-15.png

  1. In the "Configuring extra options" window, click "Next"

180-windows-server-install-git-16.png

  1. In the "Configuring experimental options" window, click "Next"

180-windows-server-install-git-17.png

  1. In the "Completing the Git Setup Wizard" window, un-select "View Release Notes" and click "Finish"