1

We have path environment variable in windows which holds the places for binaries. How can we add some binaries to git bash?

Samdeesh
  • 905
  • 11
  • 23

1 Answers1

1

You would need to modify $PATH in your git bash shell session:

export PATH=$PATH:/c/path/to/binary

You can do so in a $HOME/.bashrc.

Make sure you are using the latest bash from the latest git for Windows (2.5.3). It has a more recent bash than the old msysgit one.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250