- Download MinGW Windows Installer
- Run the installer
- For Architecture select x86_64
- Make a note of the installation location
- Add path to MinGW bin folder to the Windows PATH environment variable
- You can check the installation using the following command
g++ --version