Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Setting up on Windows

Henry Royce Institute for advanced materials
University of Manchester

bash

There are two recommended ways to set up bash on Windows OS, either by installing Git Bash or by enabling the Windows Subsystem for Linux (WSL)

Installation instructions to both methods of setting up bash are described by the Carpentries in the following resource, in separate tabbed pages https://carpentries.github.io/workshop-template/install_instructions/#the-bash-shell

alt text

An alternative resource for installing Git Bash can be found here: https://www.geeksforgeeks.org/git/working-on-git-bash/#how-to-install-git-bash

git

Whether you installed Git Bash or enabled WSL, git should have come bundled with both. The Carpentries also provide guidance on how to confirm the installation, or install git on WSL. The guidance can be found here https://carpentries.github.io/workshop-template/install_instructions/#git-1

I also provide some instructions on how to check your installation below:

Test the git installation

Git Bash

  1. Navigate to your start menu

  2. Start typing “git bash” into the search bar

  3. Click on the Git Bash icon to start the program

  4. Type the following

    git
  5. Press Enter

  6. You should see the help menu come up

  7. Close the program or type

    exit

WSL

Git usually comes packaged with WSL;

  1. Navigate to your start menu

  2. Start typing “windows subsystem for linux” into the search bar

  3. Click on the relevant icon to start the program

  4. Type the following

    git
  5. Press Enter

  6. You should see the help menu come up,

  7. If git is not recognised as a command then you will need to install it using your system’s package manager

    1. Type the following commands into your terminal

      sudo apt update
      sudo apt install git
    2. Go back to step 4 to test the installation

  8. Close the program or type

    exit

GitKraken

To install GitKraken,

  1. Navigate to https://www.gitkraken.com/download

  2. Select the installer for your operating system

  3. Run the installer once downloaded

  4. GitKraken will start automatically once installed on your system

For further information, check https://help.gitkraken.com/gitkraken-desktop/how-to-install/