How to install and use "make" in Windows?

Hashem Elezabi picture Hashem Elezabi · Aug 20, 2015 · Viewed 283.6k times · Source

I'm following the instructions of someone whose repository I cloned to my machine. What I want is simple: to be able to use the make command as part of setting up the code environment. But I'm using Windows, and I searched online only to find a make.exe file to download, a make-4.1.tar.gz file to download (I don't know what to do with it next), and things about downloading MinGW (for GNU; but after installing it I didn't find any mention of "make").

I don't want a GNU compiler or related stuff; I only want to use "make" in Windows. Please tell me what I should do to accomplish that.

Thanks in advance!

Answer

Vasantha Ganesh K picture Vasantha Ganesh K · Jan 8, 2019

GNU make is available on chocolatey.

  • Install chocolatey from here.

  • Then, choco install make.

Now you will be able to use Make on windows.
I've tried using it on MinGW, but it should work on CMD as well.