Skip to content

Bash on windows

By default windows can’t run shell scripts because it doesn’t ship with bash. To add bash support:

  1. install git for windows

    winget install git.git
    

  2. add C:\Program Files\Git\bin\ to the environment variable PATH

you can test that it worked by running cmd and typing bash,
if installed successfully it displays a blinking $

bash windows CLI shell pipeline git