Open your web browser and load the official project website of the MinGW-w64 project:
Actually, we can go straight to the download section:
You find several links to different packages of MinGW-w64 bundled together with compilers and additional software.
This guide focuses on the LLVM package,
LLVM-MinGW, which provides the LLVM compilers and also comes bundled with
Python (Version >= 3.9).
Use the link on the website or go directly to:
Here, you find Zip-files that contain the precompiled binaries, for different processor architectures and operating systems.
We need to understand which version to download.
A brief explanation is found on the project homepage on Github:
We want to work on Windows directly, so we look for Zip-files called
Let us suppose from now on that we have picked 64-bit Intel CPU and, just for compatibility reasons, use the MSV C runtime.
The version will be
- A running number that simply indicates the version of the package
- The C runtime library required, which is either
The former is the MSV C runtime, which is available on all versions of Windows but has less features.
The latter is the Universal C runtime, which is pre-installed from Windows 10 onwards.
Please note that the Zip-file will not provide that runtime library,
you need to make sure that your Windows installation already provides it.
For that reason, we will pick the MSV C runtime.
- This indicates the processor architecture, which is one of the following:
The package contains binaries to compile for any of those architectures but these binaries only run on the specified architecture.
For that reason, you need look up which processor is being used on your machine and pick the appropriate package.
i686, which is the 32-bit architecture of Intel
x86-64, which is the 64-bit architecture of Intel
armv7, which is the 32-bit architecture of ARM
aarch64, which is the 64-bit architecture of ARM
You must adapt the following lines according to your choice of package, and likely your version number will be more advanced.
Whatever you pick, download the Zip file.