How to Add More Commands to Git Bash?
I Am Working on Windows Machine and I Use Bash Shell Which Comes with Git. but There Are Many Utilities Which Are Missing in This Version of Bash Shell. How...
I am working on windows machine and I use bash shell which comes with Git. But there are many utilities which are missing in this version of bash shell.
How can I install more commands on this shell?
12 Answers
There are two versions of Git that you are likely to be using - the msysgit distribution or Cygwin.
Must Read
Installing Additional Utilities For Cygwin
Although you might have only installed Git as a part of your Cygwin install (if you used Cygwin), Cygwin has a program called setup.exe which you can use to add packages. Essentially, all you have to do is run setup.exe and pick out what programs you want installed when you get to the Select Packages window. The introduction here provides a good overview with images that detail the process.
Cygwin's installer is smart enough to figure out that you have a preexisting installation, and it will add packages to your installation (instead of nuking it and starting over).