# Windows: how to have multiple CMake versions installed?

**URL:** https://discourse.cmake.org/t/windows-how-to-have-multiple-cmake-versions-installed/1491
**Category:** Usage
**Tags:** os:windows
**Created:** [July 6, 2020, 3:11pm UTC](https://discourse.cmake.org/t/windows-how-to-have-multiple-cmake-versions-installed/1491 "2020-07-06T15:11:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![scivision](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@scivision](https://discourse.cmake.org/u/scivision)
#### Post date: [July 6, 2020, 3:11pm UTC](https://discourse.cmake.org/t/windows-how-to-have-multiple-cmake-versions-installed/1491/1 "2020-07-06T15:11:01Z")

</div>

For dev purposes on Windows, we would like to have multiple CMake versions “installed” as we easily can on Linux. This would allow local testing of issues across CMake releases (e.g. 3.14 vs. 3.18). Yes, this is what cloud-based CI is for, but that’s more difficult when using proprietary toolchains with tens of gigabyte installs.

On Windows, even if a different install directory is selected via the installer, the previous CMake install is deleted first.

Is there a workaround to install multiple CMake versions on Windows beyond compiling CMake from source? (didn’t try that, but assuming…).

---

<div class="post-metadata">

### Author: ![Angew](https://discourse.cmake.org/user_avatar/discourse.cmake.org/angew/32/229_2.png) [@Angew](https://discourse.cmake.org/u/Angew)
#### Post date: [July 6, 2020, 3:18pm UTC](https://discourse.cmake.org/t/windows-how-to-have-multiple-cmake-versions-installed/1491/2 "2020-07-06T15:18:43Z")

</div>

CMake binaries can be downloaded not only as MSI installers, but as ZIP files too. You can use these to have as many CMake versions around as you like, and switch between them using `PATH`.

---

<div class="post-metadata">

### Author: ![scivision](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@scivision](https://discourse.cmake.org/u/scivision)
#### Post date: [July 6, 2020, 7:43pm UTC](https://discourse.cmake.org/t/windows-how-to-have-multiple-cmake-versions-installed/1491/3 "2020-07-06T19:43:57Z")

</div>

OK thanks for your help
