Install MinGW-w64 GCC (WinLibs) on Windows
GCC compiler toolchain for Windows (MinGW-w64) to build C and C++ programs.
Install commands
Open PowerShell or Windows Terminal and run one of these commands to install MinGW-w64 GCC (WinLibs).
winget
winget install --id BrechtSanders.WinLibs.POSIX.UCRT --exact --source wingetScoop
scoop install main/mingwChocolatey
choco install mingw -yPackage details
- Category
- Languages & SDKs
- winget
BrechtSanders.WinLibs.POSIX.UCRT- Scoop
main/mingw- Chocolatey
mingw
Package sources
The script installs exactly these packages. Versions are the latest ones recorded by the automated catalog check on 2026-09-14; they are used when version pinning is enabled.
| Package manager | Package | Verified version | Source |
|---|---|---|---|
| winget | BrechtSanders.WinLibs.POSIX.UCRT | 16.1.0-14.0.0-r4 | Manifest |
| Scoop | main/mingw | – | Manifest |
| Chocolatey | mingw | 16.1.0 | Manifest |
Install MinGW-w64 GCC (WinLibs) together with other apps
Add this app to a WinMate selection to install it together with the rest in one script and with a single administrator prompt.
Add to my install script