
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.
/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.This package can be used with ruby package to provide native building environment for gems.
ridk function which offers interactive GUI installation wizard of msys2 and hence can't be used unattended (ridk install 1).ridk install 2).ridk install 3).You can also just install the msys2 package without system update and use ridk afterwards:
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