Wingetlywingetly
← All apps
L

LLVM MinGW (UCRT runtime)

by Martin Storsjöv22.1.8-20260616

Last updated

An LLVM/Clang/LLD based mingw-w64 toolchain, with UCRT runtime library

Install with winget

$ winget install --id MartinStorsjo.LLVM-MinGW.UCRT --exact --version 22.1.8-20260616

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Built by Pckgr

For Intune admins

Stop chasing app updates. Pckgr patches them for you.

Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.

Start free 30-day trial

No credit card required.

About

This is a recipe for reproducibly building a LLVM/Clang/LLD based mingw-w64 toolchain.

Benefits of a LLVM based MinGW toolchain are:

- Support for targeting ARM/ARM64 (while GCC obviously does support these architectures, it doesn't support Windows on ARM)

- A single toolchain targeting all four architectures (i686, x86_64, armv7 and arm64) instead of separate compiler binaries for each architecture

- Support for generating debug info in PDB format

- Support for Address Sanitizer and Undefined Behaviour Sanitizer

- Since LLVM 16: Support for Control Flow Guard (-mguard=cf compile and link flags)

Clang on its own can also be used as compiler in the normal GNU binutils based environments though, so the main difference lies in replacing binutils with LLVM based tools.

Installers · v22.1.8-20260616

ArchitectureTypeScopeInstallDownload
x86ZIP
archive
-Direct
x64ZIP
archive
-Direct
armZIP
archive
-Direct
arm64ZIP
archive
-Direct

Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.

Security

8 known CVEs via NVD

  • medium5.5Patched in wingetCVE-2023-29942affects v2023-01-12May 5, 2023

    llvm-project commit a0138390 was discovered to contain a segmentation fault via the component mlir::Type::isa<mlir::LLVM::LLVMVoidType.

  • medium5.5Patched in wingetCVE-2023-29941affects v2023-01-12May 5, 2023

    llvm-project commit a0138390 was discovered to contain a segmentation fault via the component matchAndRewriteSortOp<mlir::sparse_tensor::SortOp>(mlir::sparse_tensor::SortOp.

  • medium5.5Patched in wingetCVE-2023-29939affects v2023-01-12May 5, 2023

    llvm-project commit a0138390 was discovered to contain a segmentation fault via the component mlir::spirv::TargetEnv::TargetEnv(mlir::spirv::TargetEnvAttr).

  • medium5.5Patched in wingetCVE-2023-29935affects v2022-11-23May 5, 2023

    llvm-project commit a0138390 was discovered to contain an assertion failure at !replacements.count(op) && "operation was already replaced.

  • medium5.5Patched in wingetCVE-2023-29934affects v2022-11-22May 5, 2023

    llvm-project commit 6c01b5c was discovered to contain a segmentation fault via the component mlir::Type::getDialect().

  • medium5.5Patched in wingetCVE-2023-29933affects v2022-12-11May 5, 2023

    llvm-project commit bd456297 was discovered to contain a segmentation fault via the component mlir::Block::getArgument.

  • medium5.5Patched in wingetCVE-2023-29932affects v2022-11-01May 5, 2023

    llvm-project commit fdbc55a5 was discovered to contain a segmentation fault via the component mlir::IROperand<mlir::OpOperand.

  • medium5.5Patched in wingetCVE-2023-26924affects v2023-01-22Mar 27, 2023

    LLVM a0dab4950 has a segmentation fault in mlir::outlineSingleBlockRegion. NOTE: third parties dispute this because the LLVM security policy excludes "Language front-ends ... for which a malicious input file can cause undesirable behavior."

Source: NVD, updated 2h ago. Patch status is best-effort: NVD's fix version is compared against the latest version in winget, but the two version formats don't always align. Confirm with the vendor advisory before treating any specific build as safe.

See a CVE that affects your fleet? Push the patched version to Intune in one click with Pckgr - automated patching is the only way to keep up.

Related apps

  • L
    LLVM MinGW (MSVCRT runtime)Martin Storsjö
    MartinStorsjo.LLVM-MinGW.MSVCRTv22.1.8-20260616

    An LLVM/Clang/LLD based mingw-w64 toolchain, with MSVCRT runtime library

  • Visual Studio BuildTools 2026Microsoft Corporation
    Microsoft.VisualStudio.BuildToolsv18.10.1

    These Build Tools allow you to build Visual Studio projects from a command-line interface.

  • Microsoft Visual C++ 2013 Redistributable (x86)Microsoft Corporation
    Microsoft.VCRedist.2013.x86v12.0.40664.0

    The Microsoft Visual C++ 2013 Redistributable Package (x86)

  • Microsoft Visual C++ 2013 Redistributable (x64)Microsoft Corporation
    Microsoft.VCRedist.2013.x64v12.0.40664.0

    The Microsoft Visual C++ 2013 Redistributable Package (x64).

  • Visual Studio BuildTools 2022Microsoft Corporation
    Microsoft.VisualStudio.2022.BuildToolsv17.14.41

    These Build Tools allow you to build Visual Studio projects from a command-line interface.

  • Microsoft Visual C++ 2015 UWP Desktop Runtime PackageMicrosoft Platform Extensions
    Microsoft.VCLibs.Desktop.14v14.0.33728.0

    C++ Runtime framework packages for Desktop Bridge.

More from Martin Storsjö or browse binutils, c, c++.

Frequently asked questions

How do I install LLVM MinGW (UCRT runtime) on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id MartinStorsjo.LLVM-MinGW.UCRT --exact --version 22.1.8-20260616. winget downloads the installer from Martin Storsjö and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install LLVM MinGW (UCRT runtime) silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id MartinStorsjo.LLVM-MinGW.UCRT --exact 22.1.8-20260616 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
How do I uninstall LLVM MinGW (UCRT runtime) via winget?
Run: winget uninstall --id MartinStorsjo.LLVM-MinGW.UCRT --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from LLVM MinGW (UCRT runtime)'s Apps & Features entry.
Is LLVM MinGW (UCRT runtime) free?
LLVM MinGW (UCRT runtime) is distributed under ISC. Refer to the publisher (https://github.com/mstorsjo/llvm-mingw) for the full license terms - Wingetly itself does not charge for installation.
Does LLVM MinGW (UCRT runtime) work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls LLVM MinGW (UCRT runtime) directly from the publisher.
How do I keep LLVM MinGW (UCRT runtime) up to date?
Run winget upgrade --id MartinStorsjo.LLVM-MinGW.UCRT --exact, or winget upgrade --all to update everything winget tracks. We index 10 versions of LLVM MinGW (UCRT runtime) from microsoft/winget-pkgs.

Recent versions

  • 22.1.8-20260616latest
  • 22.1.7-20260602
  • 22.1.6-20260519
  • 22.1.5-20260505
  • 22.1.4-20260421
  • 22.1.3-20260407
  • 22.1.2-20260324
  • 22.1.1-20260311
  • 22.1.0-20260224
  • 21.1.8-20251216