Install with winget
Open PowerShell or Command Prompt and run:
winget install Kitware.CMake
Copied to clipboard!
1Open PowerShell or Command Prompt
2Paste and run the command above
3Follow any on-screen prompts to complete installation
About CMake
CMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of your choice.
Advanced Install Options
Install (latest)
winget install Kitware.CMakeInstall (pinned version)
winget install --id Kitware.CMake -e --version 4.3.2Upgrade
winget upgrade Kitware.CMakeUninstall
winget uninstall Kitware.CMakeFrequently Asked Questions
How do I install CMake using winget?
Open PowerShell or Windows Terminal and run:
winget install Kitware.CMake. Winget comes pre-installed on Windows 10 (1809+) and Windows 11.What is CMake?
CMake is a cross-platform, open-source build system generator.
Is CMake free to use?
CMake is distributed under the BSD-3-Clause license. Check the publisher’s site for full licensing details.
How do I update CMake with winget?
Run
winget upgrade Kitware.CMake in PowerShell or Windows Terminal to upgrade to the latest available version.How do I uninstall CMake?
Run
winget uninstall Kitware.CMake to remove CMake from your system.