# Clang on Windows

DevFeed: [Clang on Windows](<https://devfeed.tech/articles/clang-on-windows-27445.md>)

Original publisher: [Read original article](<https://ariya.io/2020/01/clang-on-windows/>)

Published: 2020-01-05T22:46:09Z

Content type: tutorial

Language: en

Sources: [Ariya Hidayat](<https://devfeed.tech/sources/ariya-hidayat.md>)

Topics: [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Package manager](<https://devfeed.tech/topics/package-manager.md>), [make](<https://devfeed.tech/topics/make.md>), [Azure](<https://devfeed.tech/topics/azure.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [azure](<https://devfeed.tech/tags/azure.md>), [build](<https://devfeed.tech/tags/build.md>), [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [cache](<https://devfeed.tech/tags/cache.md>), [clang](<https://devfeed.tech/tags/clang.md>), [continuous-integration](<https://devfeed.tech/tags/continuous-integration.md>), [make](<https://devfeed.tech/tags/make.md>), [pacman](<https://devfeed.tech/tags/pacman.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

A tutorial on using MSYS2 to install and run Clang on Windows for building 32-bit and 64-bit C/C++ applications. It also describes integrating the toolchain with Azure Pipelines and caching downloaded packages.

## Source excerpt

Thanks to the MSYS2 project, now there is an easy way to utilize Clang to build C/C++ application on Windows. This works equally well for both 32-bit and 64-bit programs.