git bash bash: *: command not found


Some functions of GIT bash installed by default are not available, such as zip. When executing zip and unzip commands under git bash, an error will be reported and the command cannot be found. Fortunately, we can install the commands we need. Take the zip command as an example, and the steps are as follows:

1. Open

2. Find zip and bzip2. Since zip depends on bzip2.dll, Download and After decompression, copy zip.exe under bin directory of zip-3.0-bin and bzip2.dll under bin directory of bzip2-1.0.5-bin to & lt; Program folder>\ Git \ usr \ bin, such as mine:


3. Then enter zip — help and unzip — help under git bash, which can be used as follows:

  Therefore, similar methods can be used for other commands


Similar Posts: