How to install MinGW w64 on Windows 2023

Hello everyone, Today I’ll show you how to install MinGW w64 compiler and configure it with Visual Studio Code on a Windows 7, 8, 10, or 11 operating system.

MinGW is a variant of the GCC compiler that can compile 32-bit and 64-bit applications (hence the w64 part in the name). MinGW can build programs written in C, C++, and Fortran 90/95 that are publicly accessible for all systems.

MinGW supports open-source projects such as the Open Watcom compiler and the GNU toolchain, as well as numerous prominent commercial compilers.

Also, many people don’t know how to set up GCC for visual studio code.

So in this post, I’ll teach you a new approach to downloading and installing the MinGW w64 compiler on your Windows 10 operating system.

Table of Contents


I hope this Installation Tutorial answers your query about how to install MinGW w64 on Windows 10, 9, 8, and other operating systems.

You can download the 32-Bit Version or 64-bit Version of Mingw as you like.

Simply type MinGW w64 compiler or 32-bit MinGW compiler into Google and hit enter; the first result will be; simply click on the first result that appears.

MinGW – Minimalist GNU for Windows download – SourceForge

  • Just click on that, and we are going to download this Mingw-w64 Installer from this Sourceforge website. or simply Click Here to download.
  • So, in this section, simply click on download to install MinGW w64.
  • Wait four to five seconds for the download to complete, then double-click the exe file to install.
  • Simply click install and navigate to the directory where you want this software to be installed. However, I recommend that you maintain the default installation folder and then click on proceed.
How to install MinGW w64 on Windows
  • And now, as you can see below, it’s connecting to, implying that you must have an active internet connection during the installation, as you can see the downloading is presently in progress.
How to install MinGW w64 on Windows
  • And after it’s finished, simply click on continue. The installation manager with this MinGW merely provided you with various alternatives to install.
  • Click on all and mark them for installation in the MinGW Installations wizard. You may do this by right-clicking on it and selecting “mark for installation.”
  • Now, just click on installation and then on this application modifications.
How to install MinGW-w64 on Windows
  • After clicking on apply changes it will show you that downloading is in progress so it will take a minute or two

After this downloading has been rightly completed and the files are now getting extracted to be installed Once when it gets done so now as you can see that all changes are applied successfully so now you can simply close this wizard.

Now simply click on this command prompt by searching it.

and in the command window,

  •  First type g++ –version

And click on Enter Button ({Note its (G plus plus space minus minus version) }

Now it will be showing that-

 g++ is not recognized as  an internal or an external command

Now, this is because this environmental path has not been shed.

I hope the above procedure will answer your question about how to install Mingw-w64 on your Pc.

Now I will show you how to set the GCC Compiler path If you want to run C or C++ programs on your PC.

Setting GCC compiler path in Windows 10

So for that just simply close the command prompt

Now we will show you the steps to Setting up a GCC path Using GCC with Mingw-w64.

Then just go to your c directory  

  • And you can see that MinGW has been installed over here, so simply click on that folder.
  • then navigate to this bin directory, and now just navigate to this address bar, right-click on it, and copy this path by pressing Ctrl+V.
How to install MinGW w64 on Windows c c++
  • Then click the search icon, type environment, and then click the Edit System Environment Variables button.
 install latest MinGW w64 on Windows c c++
  • Now that you’ve seen this pop-up from the system properties, simply click on these environment variables once again.
  • Simply click on the path under this system variable and then modify edit.
 install MinGW 64
  • and now you will see this edit environment variable will pop up so now just simply click on new.
 install MinGW 64 latest version
  • and in here just simply paste the previous path by simply ctrl v 

And now as you can see that this means the MinGW slash bin  folder has been rightly in a printed

  • Now just simply click on ok then again okay then again okay  

And now After closing this again, open your command prompt and simply type (G plus plus minus minus version) as

G++ –version

and now just enter and now as you can see that this 6.3.0 has also been correctly shown in our home directory, so we now know that this environment path has been correctly established.

After installation has finished click on the finish.


We hope you found our guide on installing MinGW on Windows useful. With this information, we can install MinGW on your Windows PC and begin developing apps in C and C++.

It includes a GCC compiler as well as additional tools for creating C and C++ applications for Windows. As a result, it is critical for coders and students who wish to learn to code.

If you have any other questions or want to learn more about the MinGW compiler, please leave a comment and we will respond or publish a new article on that issue.


How to install Mingw w64 C, C++ compiler?

MinGW, a modified version of the GCC compiler, can compile applications in both 32-bit and 64-bit architecture. MinGW may be downloaded via the Sourceforge website.

How to Download the C++ compiler for visual studio code?

Mingw Compiler is often used in Visual Studio Programs to build C++ code. Go to and click the “Download/Installer” link to get the MinGW setup file.

How to install the CPP compiler in windows?

GCC requires MinGW to be installed on Windows. Visit and get the latest recent MinGW installation software.

Share with others

Leave a Comment

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock