You need to have C:\Program Files\Git\cmd in your path. Make sure it is there, start a new cmd prompt, type git --version.

Answer from LaGrandMere on Stack Exchange
🌐
Reddit
reddit.com › r/git › bash: make: command not found
r/git on Reddit: Bash: make: command not found
January 13, 2022 -

I'm trying to install vim with git per the [websites instructions](https://www.vim.org/git.php) and when I try to run "make", git returns "bash: make: command not found". I found a [thread](https://stackoverflow.com/questions/36770716/mingw64-make-build-error-bash-make-command-not-found) about it on stack overflow saying to install and use either chocolatey or ezwinports but I cant get it to work. Can someone help me out please. Its probably something simple I'm doing wrong but I cant seem to figure it out.

Discussions

go - MINGW64 "make build" error: "bash: make: command not found" - Stack Overflow
I am working on Windows 10. I want to run a "make build" in MINGW64 but following error comes up: $ make build bash: make: command not found I want to build Glide for Golang I tried following: $... More on stackoverflow.com
🌐 stackoverflow.com
make command not found
Hi, So I downloaded sphinx and ran sphinx-build which gave me the Makefile and make.bat file. But when I run 'make' I get told that it's not found. I'm using a git shell on a Window's machine. Than... More on github.com
🌐 github.com
4
January 27, 2015
Windows 10, Git Bash - bash: git: command not found - Stack Overflow
Git Bash no longer recognizes git commands, as well as some commands like ls and env. I've checked that the following paths were set up in my environment variables and I've tried uninstalling/ More on stackoverflow.com
🌐 stackoverflow.com
Any idea for how to run "make" commands in windows
I try the system, but haven't luck, the result is this $ make bash: make: command not found I'm on Windows 10 More on github.com
🌐 github.com
19
June 4, 2016
🌐
GitHub
gist.github.com › evanwill › 0207876c3243bbb6863e65ec5dc3f058
how to add more utilities to git bash for windows, wget, make · GitHub
Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available. The basic idea is that C:\Program Files\Git\mingw64\ is your / directory according to Git Bash (note: depending on how you installed it, the directory might be different.
🌐
GitHub
github.com › sphinx-doc › sphinx › issues › 1693
make command not found · Issue #1693 · sphinx-doc/sphinx
January 27, 2015 - Hi, So I downloaded sphinx and ran sphinx-build which gave me the Makefile and make.bat file. But when I run 'make' I get told that it's not found. I'm using a git shell on a Window's machine. Than...
Author   sphinx-doc
Top answer
1 of 12
26

There are two versions of Git that you are likely to be using - the msysgit distribution or Cygwin.

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).

MSYS

The other version of Git you are probably using (if not Cygwin) is msysgit. Because msysgit installs a minimal Unix environment which is not really compatible with MinGW, you'll end up having to install the MinGW suite beside msysgit. The MinGW Getting Started page gives a detailed overview on how to go about getting MinGW installed - since I have no experience with MinGW personally, all I can really do is refer you to their instructions.

You'll then have to migrate your msysgit installation into MinGW. This can be accomplished by doing the following (taken from here). After the following sequence is done, MinGW should find your Git installation.

cd GITDIR # Where GITDIR is wherever inside Program Files you put Git
cp bin/git* /MINGW/bin # Where MINGW is wherever you put MinGW
cp -r libexec/git* /MINGW/libexec
cp -r share/git* /MINGW/share
2 of 12
25

With recent Git for Windows installations, installing additional shell scripts and programs is pretty easy.

Simply put the executables into C:\Program Files\Git\usr\bin (%ProgramFiles%\Git\usr\bin).

I recommend installing git using chocolatey choco install git --params "/GitAndUnixToolsOnPath /WindowsTerminal", because you can update git (and all other tools installed with chocolatey) by executing choco upgrade all.

Example for git-fresh

Copy the file git-fresh to C:\Program Files\Git\usr\bin.

Example for adr-tools

  1. Download a zip package from the releases page
  2. Unzip the package
  3. Copy everything from src/ into C:\Program Files\Git\usr\bin
Find elsewhere
🌐
GitHub
github.com › jandecaluwe › urubu › issues › 52
Any idea for how to run "make" commands in windows · Issue #52 · jandecaluwe/urubu
June 4, 2016 - I try the system, but haven't luck, the result is this $ make bash: make: command not found I'm on Windows 10
Author   jandecaluwe
🌐
Readthedocs
gpx-kml-converter.readthedocs.io › en › latest › develop › make_windows
🛠️ How to Use make on Windows - gpx-kml-converter
If make command is not recognized: 1. Close and reopen your terminal 2. Check if the installation path is in your system PATH environment variable 3.
🌐
Programming with Jim
programmingwithjim.wordpress.com › 2020 › 11 › 29 › make-in-git-bash
Make in Git Bash | Programming with Jim
November 29, 2020 - To solve this problem and make Git Bash even more Linux like, I renamed /c/Program\ Files\ (x86)/mingw-w64/i686-7.3.0-posix-dwarf-rt_v5-rev0/mingw32/bin/mingw32-make.exe to /c/Program\ Files/Git/usr/bin/make.exe, which Git Bash also sees as /usr/bin/make. This allows make to recurse normally. If you already have another make program you want to keep, you can name GNU make gmake.exe. The mak build framework currently supports Linux and Windows, but the Windows support assumes that you are using the Windows command shell and the Microsoft Visual Studio C compiler.
🌐
Graphite
graphite.com › guides › git-not-recognized-windows
How to resolve the error "git is not recognized" on windows
Try your Git command: Use Git Bash to run the Git command that was previously not recognized. As a last resort, if Git still isn't recognized, there might have been an issue with the initial installation. Uninstall Git: Go to "Control Panel" > "Programs and Features", find Git in the list, and uninstall it. Reinstall Git: Download the latest version of Git for Windows and follow the installation process again, making sure to add Git to the PATH during installation.
🌐
Electro-Smith
forum.electro-smith.com › getting started
Issue with Git Not Installing Properly On Windows - Getting Started - Daisy Forums
Hi, I cannot get a GIT-bash terminal in vs code running make in the git-bash itself gives me an error I also tried the web programmer, buttons are greyed out with an error in the console can someone look at this issue I just created ? thanks for your help nothing works · Issue #571 · ...
Published   February 14, 2023
🌐
Reddit
reddit.com › r/linuxquestions › bash doesn't recognize the make command?
r/linuxquestions on Reddit: Bash doesn't recognize the make command?
August 26, 2023 -

Hi all. I'm trying to install one of those local A.i programs. Using Manjaro KDE. I have the install command from github, but here is the output from the terminal:

[jersten@LinuxRig ~]$ git clone https://github.com/fredi-python/llama.cpp.git && cd llama.cpp && make -j && cd models && wget -c https://huggingface.co/CRD716/ggml-vicuna-1.1-quantized/resolve/main/ggml-vicuna-13B-1.1-q5_1.bin

Cloning into 'llama.cpp'...

remote: Enumerating objects: 3411, done.

remote: Counting objects: 100% (3411/3411), done.

remote: Compressing objects: 100% (1107/1107), done.

remote: Total 3411 (delta 2303), reused 3309 (delta 2267), pack-reused 0

Receiving objects: 100% (3411/3411), 3.05 MiB | 5.25 MiB/s, done.

Resolving deltas: 100% (2303/2303), done.

bash: make: command not found

[jersten@LinuxRig llama.cpp]$

Looks like everything was going well for awhile there. Any idea why I couldn't complete the installation? Thank you

🌐
Reddit
reddit.com › r/git › git command no longer found using git bash (windows 10)
r/git on Reddit: Git command no longer found using Git Bash (Windows 10)
September 30, 2019 -

Edit: so I've gotten around the issue by just using CMDer instead of Git Bash and that's working fine apparently

So the past three weeks I've been using git through git bash pretty extensively. Everything was working well but today I opened up git bash and tried to clone a repo but it keeps saying bash: git: command not found.

I tried reinstalling git and git bash but the same thing is happening. I didn't change anything and am not sure what is causing this.

Does anyone know?

🌐
GitHub
github.com › jennybc › happy-git-with-r › issues › 67
Windows: "bash: git: command not found" error thrown in RStudio shell, but not in Git Bash · Issue #67 · jennybc/happy-git-with-r
November 3, 2017 - I confirmed that the “Use Git Bash as shell for Git projects” box in Tools > Global Options > Git/SVN was ticked. Edit: This option is not in RStudio v1.1.383. My confusion. Name of the Rstudio git shell window was MSYS, not cmd.exe nor MINGW64, as you warned in the book here. ... Re-installed git from here (did not uninstall). During installation, selected "Use Git from the Windows Command Prompt" (different from default).
Author   jennybc
🌐
Sitereq
sitereq.com › post › easiest-way-to-install-git-bash-commands-on-windows
Easiest Way to Download Git Bash Commands on Windows
September 24, 2021 - The easiest guide to Git Bash for windows download and, the basic configurations needed to install Git bash commands to manage your repositories
🌐
Stack Overflow
stackoverflow.com › questions › 78690884 › git-bash-command-not-found-error-how-to-resolve
Git Bash: Command Not Found Error - How to Resolve? - Stack Overflow
Is this specific to Git Bash or does the regular Windows cmd not know the git command either? Also, have you tried a clean re-install and made sure you had "Git from the command line and also from 3rd-party software" option checked during the install? ... It work well in cmd. I have try re-install for several time already. It seem like git bash not known any command except basic command like pwd or cd.