# Install Make on Windows

## Method 1: Install with MSYS2

Download the installer from <https://www.msys2.org/>.

<figure><img src="/files/y0LrCuE5gkmWTg9sDhGf" alt=""><figcaption></figcaption></figure>

Install make with the command:

```bash
pacman -S make
```

![](/files/RRuL02jVDh2sF3Z5a71e)

Add the following path to PATH:

```bash
D:\Documents\msys64\usr\bin
```

## Method 2: Install with GNUWin (Not Recommended)

Download GunWin make from [here](https://gnuwin32.sourceforge.net/packages/make.htm).

Download both the "Binaries" and "Dependencies" Zip files.

<figure><img src="/files/0PfKkkKckmJG7cjZkpEG" alt=""><figcaption></figcaption></figure>

Create a folder for Make in a known location, for example, `D:\Documents\Make`.

Unzip the "make-3.81-bin.zip" first to the newly created folder, then merge the content in "make-3.81-dep.zip" to the newly created folder.

<figure><img src="/files/zIl7p5GBp4y2qsczf0eZ" alt=""><figcaption><p>Content inside "bin" after the merge</p></figcaption></figure>

Add `D:\Documents\Make\bin` to PATH.

Now make is installed on the system. Run `make` to invoke.

<figure><img src="/files/vb0JTESVRaQXOFb56vhL" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tk233.gitbook.io/notes/tools/windows/install-make-on-windows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
