MSYS2 is a software distro and building platform for Windows. At its core is an independent rewrite of MSYS, based on modern Cygwin (POSIX compatibility layer) and MinGW-w64 with the aim of better interoperability with native Windows software. It provides a bash shell, Autotools, revision control systems and the like for building native Windows applications using MinGW-w64 toolchains. It features a package management system to provide easy installation of packages, Pacman. It brings many powerful features such as dependency resolution and simple complete system upgrades, as well as straight-forward package building. ### Ruby integration This package can be used with [ruby](https://chocolatey.org/packages/ruby) package to provide native building environment for gems. - The ruby installer comes with `ridk` function which offers interactive GUI installation wizard of msys2 and hence [can't be used unattended](https://github.com/oneclick/rubyinstaller2/issues/79) (`ridk install 1`). - Its system update is the same as initialization done with this package (`ridk install 2`). - Ruby installer offers unattended setup of MSYS2 and MINGW development toolchain (`ridk install 3`). You can also just install the msys2 package without system update and use `ridk` afterwards: ```powershell cinst ruby # install ruby cinst msys2 --params "/NoUpdate" # install msys2 without system update Update-SessionEnvironment # refresh environment vars ridk install 2 3 # use ruby's ridk to update the system and install development toolchain ``` ## Package parameters - `/InstallDir` - Path to installation directory, by default msys will be installed in `Get-ToolsLocation`. - `/NoPath` - Do not add msys installation directory to system PATH. - `/NoUpdate` - Do not automatically update with Pacman according to the [official instructions](https://msys2.github.io). Example: `choco install msys2 --params "/NoUpdate /InstallDir:C:\your\install\path"` ## Notes - MSYS2 itself will not be installed again on updating or reinstalling the Chocolatey package. Instead, the existing MSYS2 will be updated with Pacman. Manually delete the installation folder to force complete reinstallation. - **If the package is out of date please check [Version History](#versionhistory) for the latest submitted version. If you have a question, please ask it in [Chocolatey Community Package Discussions](https://github.com/chocolatey-community/chocolatey-packages/discussions) or raise an issue on the [Chocolatey Community Packages Repository](https://github.com/chocolatey-community/chocolatey-packages/issues) if you have problems with the package. Disqus comments will generally not be responded to.**

Release History

Subscribe above to receive notifications when new versions are released.
VersionDateStability
20240507.0.0
Stable
20240113.0.0
Stable
20231026.0.0
Stable
20230718.0.0
Stable
20230526.0.0
Stable
20230318.0.0
Stable
20230127.0.0
Stable
20221216.0.0
Stable
20220904.0.0
Stable
20220603.0.0
Stable
20220503.0.0
Stable
20220319.0.0
Stable
20220128.0.0
Stable
20220118.0.0
Stable
20211130.0.0
Stable
20210604.0.0
Stable
20210419.0.0
Stable
20210228.0.0
Stable
20210215.0.0
Stable
20210105.0.0
Stable
20201109.0.0
Stable
20200903.0.0
Stable
20200816.0.0
Stable
20200720.0.0
Stable
20200719.0.0
Stable
20200629.0.0
Stable
20200602.0.0
Stable
20200522.0.0
Stable
20190524.0.0.20191030
Stable
20180531.0.0
Stable
20161025.0.0
Stable
20160719.1.1
Stable
20160719.1.0
Stable
20150916.0.1
Stable
20150916.0.0
Stable