# VTK 9.1, MINGW64 and Windows 10

**URL:** https://discourse.vtk.org/t/vtk-9-1-mingw64-and-windows-10/7116
**Category:** Support
**Created:** [November 9, 2021, 7:53am UTC](https://discourse.vtk.org/t/vtk-9-1-mingw64-and-windows-10/7116 "2021-11-09T07:53:19Z")
**Posts on this page:** 1
**Showing post:** 40

<div class="post-metadata">

### Author: ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)
#### Post date: [April 24, 2023, 8:59pm UTC](https://discourse.vtk.org/t/vtk-9-1-mingw64-and-windows-10/7116/40 "2023-04-24T20:59:08Z")

</div>

Hello, Ben,

I suggest you to try MSYS2, which has an instaler. First, you install it (e.g. in `C:\msys2`). Then, run `pacman -S mingw-w64-x86_64-toolchain` in its command line interface to install MinGW64 in it. After that, just zip the MSYS2 installation folder and unpack it where you like. Finally, you likely need to configure CI/CD script to put the toolchain executables and libraries in PATH (`D:\mySoftwaresPortables\msys64\mingw64\bin` and `D:\mySoftwaresPortables\msys64\mingw64\lib`), for example, supposing you unzipped the MSYS2 installation directory to `D:\mySoftwaresPortables\`. That worked for me. That way you can have a working MinGW64 in your CI/CD environment without the need for a system-wide installation.

best,

PC

---

_[View the full topic](https://discourse.vtk.org/t/vtk-9-1-mingw64-and-windows-10/7116)._
