Download and run MinGW-W64 installer. Make sure to select the correct architecture.
Download and install MSYS2 package manager to the default location.
Open MSYS shell and install MinGW-W64.
MSYS
pacman --noconfirm --needed -Sy bash pacman pacman-mirrors pacman --noconfirm -Su pacman --noconfirm -S mingw-w64-x86_64-gcc
Add MSYS2 binary paths to your PATH environment variable.
MSYS2
PATH
C:\msys64\mingw64\bin C:\msys64\usr\bin
There was an error while loading. Please reload this page.