# Install Make on Windows

## Method 1: Install with MSYS2

Download the installer from [https://www.msys2.org/](https://www.msys2.org/).

<figure><img src="https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-ab1f727a570755e7afe4cccac8fe4c163f1893a0%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Install make with the command:

```bash
pacman -S make
```

![](https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-cc8048828d37c5f64f4425ab7b7b14845bd42795%2Fimage.png?alt=media)

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="https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-8fb26f7bf852b317d37a4e8706015bb2d61de395%2Fimage.png?alt=media" 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="https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-ef8495db8820046d03cb96832e59f5712a9bc45e%2Fimage.png?alt=media" 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="https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-60ef9bb7003f33b754d8905e61af92a7abe04c6e%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
